diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
| commit | f1bb2cd2aa7488657658fbc09aae2ead579049ab (patch) | |
| tree | 6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/cmp | |
| parent | 9f6092398b2ada850e3149754f08600fdff7caaa (diff) | |
Notes
Diffstat (limited to 'usr.bin/cmp')
| -rw-r--r-- | usr.bin/cmp/cmp.c | 2 | ||||
| -rw-r--r-- | usr.bin/cmp/extern.h | 8 | ||||
| -rw-r--r-- | usr.bin/cmp/regular.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c index ca732c6325e5..162c6cd14764 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 9ab37d6d372c..75afb2b215f1 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 014657e45987..982e1b5dadd6 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) |
