diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-03-19 05:04:30 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-03-19 05:04:30 +0000 |
commit | 84fcfdb0bf867752d6716df1acf1eedf2198814d (patch) | |
tree | 6b8c70ae9e68cc099b693e2c1687ce088316d940 /lib/libutil | |
parent | 90b2a0547e7e74c8e746fac8d0723800b21eccd0 (diff) | |
download | FreeBSD-src-84fcfdb0bf867752d6716df1acf1eedf2198814d.zip FreeBSD-src-84fcfdb0bf867752d6716df1acf1eedf2198814d.tar.gz |
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 'lib/libutil')
-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 6bebea0..a5e9d28 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)); |