From d3cb5ded92a4fcf21400c9742ca884549bebc99e Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 22 Mar 2002 01:33:25 +0000 Subject: remove __P --- usr.bin/ranlib/build.c | 12 ++++++------ usr.bin/ranlib/misc.c | 2 +- usr.bin/ranlib/ranlib.c | 6 +++--- usr.bin/ranlib/touch.c | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'usr.bin/ranlib') diff --git a/usr.bin/ranlib/build.c b/usr.bin/ranlib/build.c index 6768257b65874..88bebf7738b1a 100644 --- a/usr.bin/ranlib/build.c +++ b/usr.bin/ranlib/build.c @@ -57,10 +57,10 @@ static const char rcsid[] = #include "archive.h" -extern int tmp __P(( void )); -extern void error __P(( char * )); -extern void badfmt __P(( void )); -extern void settime __P(( int )); +extern int tmp( void ); +extern void error( char * ); +extern void badfmt( void ); +extern void settime( int ); extern CHDR chdr; /* converted header */ extern char *archive; /* archive name */ @@ -79,8 +79,8 @@ FILE *fp; long symcnt; /* symbol count */ long tsymlen; /* total string length */ -static void rexec __P((int, int)); -static void symobj __P((void)); +static void rexec(int, int); +static void symobj(void); int build(void) diff --git a/usr.bin/ranlib/misc.c b/usr.bin/ranlib/misc.c index 85a5f8cfbc40f..b67def08823df 100644 --- a/usr.bin/ranlib/misc.c +++ b/usr.bin/ranlib/misc.c @@ -56,7 +56,7 @@ static const char rcsid[] = extern char *archive; /* archive name */ char *tname = "temporary file"; /* temporary file "name" */ -void error __P(( char * )); +void error( char * ); int tmp(void) diff --git a/usr.bin/ranlib/ranlib.c b/usr.bin/ranlib/ranlib.c index 6177984705f78..290339bb18f0f 100644 --- a/usr.bin/ranlib/ranlib.c +++ b/usr.bin/ranlib/ranlib.c @@ -55,9 +55,9 @@ static const char rcsid[] = #include #include "archive.h" -extern int build __P(( void )); -extern int touch __P(( void )); -static void usage __P((void)); +extern int build( void ); +extern int touch( void ); +static void usage(void); CHDR chdr; u_int options; /* UNUSED -- keep open_archive happy */ diff --git a/usr.bin/ranlib/touch.c b/usr.bin/ranlib/touch.c index b062e087c4fe6..aca8ee61b2155 100644 --- a/usr.bin/ranlib/touch.c +++ b/usr.bin/ranlib/touch.c @@ -57,9 +57,9 @@ static const char rcsid[] = extern CHDR chdr; /* converted header */ extern char *archive; /* archive name */ -extern void error __P(( char * )); -void settime __P(( int )); -int touch __P(( void )); +extern void error( char * ); +void settime( int ); +int touch( void ); int touch(void) -- cgit v1.2.3