summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commit300518c0a10b4f5030e23380da07c906a3ee80dc (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/pwd.h
parenta931cab8794b686ee088069d9a62bcfec63c5b1b (diff)
downloadFreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.zip
FreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.tar.gz
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/pwd.h b/include/pwd.h
index ca8c42f..04961ac 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -99,14 +99,14 @@ struct passwd {
#include <sys/cdefs.h>
__BEGIN_DECLS
-struct passwd *getpwuid __P((uid_t));
-struct passwd *getpwnam __P((const char *));
+struct passwd *getpwuid(uid_t);
+struct passwd *getpwnam(const char *);
#ifndef _POSIX_SOURCE
-struct passwd *getpwent __P((void));
-int setpassent __P((int));
-void setpwent __P((void));
-void endpwent __P((void));
-const char *user_from_uid __P((uid_t, int));
+struct passwd *getpwent(void);
+int setpassent(int);
+void setpwent(void);
+void endpwent(void);
+const char *user_from_uid(uid_t, int);
#endif
__END_DECLS
OpenPOWER on IntegriCloud