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 | e3c1a02bbb599f4eb3456b8dbc6f02e64fccebc9 (patch) | |
tree | 37f84037e7360adc48623160e4d2a48249f21776 /libutil | |
parent | bcd6ff6d55cca6cdca5c303bd2ff5a2435c94693 (diff) | |
download | pw-darwin-e3c1a02bbb599f4eb3456b8dbc6f02e64fccebc9.tar.gz pw-darwin-e3c1a02bbb599f4eb3456b8dbc6f02e64fccebc9.tar.zst pw-darwin-e3c1a02bbb599f4eb3456b8dbc6f02e64fccebc9.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
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/libutil.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index 6bebea0..a5e9d28 100644 --- a/libutil/libutil.h +++ b/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)); |