From bb28f3c29b4c91af1b0e79e456294bb08735648a Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 23 Mar 2002 17:24:55 +0000 Subject: 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. --- include/netconfig.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/netconfig.h') diff --git a/include/netconfig.h b/include/netconfig.h index 491a3ffb33407..80dc0da2738f0 100644 --- a/include/netconfig.h +++ b/include/netconfig.h @@ -79,18 +79,18 @@ typedef struct { #define NC_ICMP "icmp" __BEGIN_DECLS -void *setnetconfig __P((void)); -struct netconfig *getnetconfig __P((void *)); -struct netconfig *getnetconfigent __P((const char *)); -void freenetconfigent __P((struct netconfig *)); -int endnetconfig __P((void *)); +void *setnetconfig(void); +struct netconfig *getnetconfig(void *); +struct netconfig *getnetconfigent(const char *); +void freenetconfigent(struct netconfig *); +int endnetconfig(void *); -void *setnetpath __P((void)); -struct netconfig *getnetpath __P((void *)); +void *setnetpath(void); +struct netconfig *getnetpath(void *); int endnetpath(void *); -void nc_perror __P((const char *)); -char *nc_sperror __P((void)); +void nc_perror(const char *); +char *nc_sperror(void); __END_DECLS #endif /* _NETCONFIG_H_ */ -- cgit v1.2.3