summaryrefslogtreecommitdiffstats
path: root/usr.bin/ranlib
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:33:25 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:33:25 +0000
commit1698cb216e2d4ca62662103eba0191f134923698 (patch)
treebdbefa52f70f43a70ad528a58194f71ca4abf1e3 /usr.bin/ranlib
parent74d826c7a6e9f98072df5f7dba2b84aa516fe425 (diff)
downloadFreeBSD-src-1698cb216e2d4ca62662103eba0191f134923698.zip
FreeBSD-src-1698cb216e2d4ca62662103eba0191f134923698.tar.gz
remove __P
Diffstat (limited to 'usr.bin/ranlib')
-rw-r--r--usr.bin/ranlib/build.c12
-rw-r--r--usr.bin/ranlib/misc.c2
-rw-r--r--usr.bin/ranlib/ranlib.c6
-rw-r--r--usr.bin/ranlib/touch.c6
4 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/ranlib/build.c b/usr.bin/ranlib/build.c
index 6768257..88bebf7 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 85a5f8c..b67def0 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 6177984..290339b 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 b062e08..aca8ee6 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)
OpenPOWER on IntegriCloud