diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2001-03-19 05:04:30 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2001-03-19 05:04:30 +0000 |
commit | 270ad63e6b636af8edb9d413cc81c4cdbf13ba0d (patch) | |
tree | 5d8cb91b76a89d43b3ab14027a2c395da486d945 | |
parent | 705581e102419ae64bfe3e58ec178af514088bdb (diff) | |
download | src-270ad63e6b636af8edb9d413cc81c4cdbf13ba0d.tar.gz src-270ad63e6b636af8edb9d413cc81c4cdbf13ba0d.zip |
o Rename "namespace" argument to "attrnamespace" as namespace is a C++
reserved word, causing breakage when a C++ program included libutil.h
This change will be propagated elsewhere shortly.
Submitted by: jkh
Obtained from: TrustedBSD Project
Notes
Notes:
svn path=/head/; revision=74435
-rw-r--r-- | lib/libutil/libutil.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 6bebea00b30f..a5e9d2858f8b 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -48,8 +48,9 @@ struct utmp; struct in_addr; __BEGIN_DECLS -int extattr_namespace_to_string(int namespace, char **string); -int extattr_string_to_namespace(const char *string, int *namespace); +int extattr_namespace_to_string __P((int attrnamespace, char **string)); +int extattr_string_to_namespace __P((const char *string, + int *attrnamespace)); void login __P((struct utmp *_ut)); int login_tty __P((int _fd)); int logout __P((const char *_line)); |