diff options
author | imp <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-23 17:24:55 +0000 |
commit | 300518c0a10b4f5030e23380da07c906a3ee80dc (patch) | |
tree | b4ea687a7ecac173665d9f3a8a858a98631f494e /include/nsswitch.h | |
parent | a931cab8794b686ee088069d9a62bcfec63c5b1b (diff) | |
download | FreeBSD-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/nsswitch.h')
-rw-r--r-- | include/nsswitch.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/include/nsswitch.h b/include/nsswitch.h index ee9f89a..74e5a90 100644 --- a/include/nsswitch.h +++ b/include/nsswitch.h @@ -42,11 +42,7 @@ #include <sys/types.h> -#if __STDC__ #include <stdarg.h> -#else -#include <varargs.h> -#endif #ifndef _PATH_NS_CONF #define _PATH_NS_CONF "/etc/nsswitch.conf" @@ -170,16 +166,16 @@ typedef struct { #include <sys/cdefs.h> __BEGIN_DECLS -extern int nsdispatch __P((void *, const ns_dtab [], const char *, - const char *, const ns_src [], ...)); +extern int nsdispatch(void *, const ns_dtab [], const char *, + const char *, const ns_src [], ...); #ifdef _NS_PRIVATE -extern void _nsdbtaddsrc __P((ns_dbt *, const ns_src *)); -extern void _nsdbtdump __P((const ns_dbt *)); -extern const ns_dbt *_nsdbtget __P((const char *)); -extern void _nsdbtput __P((const ns_dbt *)); -extern void _nsyyerror __P((const char *)); -extern int _nsyylex __P((void)); +extern void _nsdbtaddsrc(ns_dbt *, const ns_src *); +extern void _nsdbtdump(const ns_dbt *); +extern const ns_dbt *_nsdbtget(const char *); +extern void _nsdbtput(const ns_dbt *); +extern void _nsyyerror(const char *); +extern int _nsyylex(void); extern int _nsyylineno; #endif /* _NS_PRIVATE */ |