From e3c1a02bbb599f4eb3456b8dbc6f02e64fccebc9 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 19 Mar 2001 05:04:30 +0000 Subject: 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 --- libutil/libutil.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libutil') 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)); -- cgit v1.2.3-56-ge451