summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
commit74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch)
tree6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/cmp
parentce819c0c139981d7bab5fe36a6074af74b01d185 (diff)
downloadFreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip
FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz
remove __P
Diffstat (limited to 'usr.bin/cmp')
-rw-r--r--usr.bin/cmp/cmp.c2
-rw-r--r--usr.bin/cmp/extern.h8
-rw-r--r--usr.bin/cmp/regular.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c
index ca732c6..162c6cd 100644
--- a/usr.bin/cmp/cmp.c
+++ b/usr.bin/cmp/cmp.c
@@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$");
int lflag, sflag, xflag, zflag;
-static void usage __P((void));
+static void usage(void);
int
main(argc, argv)
diff --git a/usr.bin/cmp/extern.h b/usr.bin/cmp/extern.h
index 9ab37d6..75afb2b 100644
--- a/usr.bin/cmp/extern.h
+++ b/usr.bin/cmp/extern.h
@@ -40,9 +40,9 @@
#define DIFF_EXIT 1
#define ERR_EXIT 2 /* error exit code */
-void c_regular __P((int, const char *, off_t, off_t, int, const char *, off_t, off_t));
-void c_special __P((int, const char *, off_t, int, const char *, off_t));
-void diffmsg __P((const char *, const char *, off_t, off_t));
-void eofmsg __P((const char *));
+void c_regular(int, const char *, off_t, off_t, int, const char *, off_t, off_t);
+void c_special(int, const char *, off_t, int, const char *, off_t);
+void diffmsg(const char *, const char *, off_t, off_t);
+void eofmsg(const char *);
extern int lflag, sflag, xflag;
diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c
index 014657e..982e1b5 100644
--- a/usr.bin/cmp/regular.c
+++ b/usr.bin/cmp/regular.c
@@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
#include "extern.h"
-static u_char *remmap __P((u_char *, int, off_t));
+static u_char *remmap(u_char *, int, off_t);
#define MMAP_CHUNK (8*1024*1024)
#define ROUNDPAGE(i) ((i) & ~pagemask)
OpenPOWER on IntegriCloud