diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:33:25 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:33:25 +0000 |
commit | d3cb5ded92a4fcf21400c9742ca884549bebc99e (patch) | |
tree | bdbefa52f70f43a70ad528a58194f71ca4abf1e3 /usr.bin/ranlib | |
parent | f1bb2cd2aa7488657658fbc09aae2ead579049ab (diff) |
Notes
Diffstat (limited to 'usr.bin/ranlib')
-rw-r--r-- | usr.bin/ranlib/build.c | 12 | ||||
-rw-r--r-- | usr.bin/ranlib/misc.c | 2 | ||||
-rw-r--r-- | usr.bin/ranlib/ranlib.c | 6 | ||||
-rw-r--r-- | usr.bin/ranlib/touch.c | 6 |
4 files changed, 13 insertions, 13 deletions
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 <unistd.h> #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) |