diff options
author | imp <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
commit | 74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch) | |
tree | 6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/cksum | |
parent | ce819c0c139981d7bab5fe36a6074af74b01d185 (diff) | |
download | FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz |
remove __P
Diffstat (limited to 'usr.bin/cksum')
-rw-r--r-- | usr.bin/cksum/cksum.c | 6 | ||||
-rw-r--r-- | usr.bin/cksum/extern.h | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/cksum/cksum.c b/usr.bin/cksum/cksum.c index bd75151..6021829 100644 --- a/usr.bin/cksum/cksum.c +++ b/usr.bin/cksum/cksum.c @@ -59,7 +59,7 @@ static const char rcsid[] = #include "extern.h" -static void usage __P((void)); +static void usage(void); int main(argc, argv) @@ -69,8 +69,8 @@ main(argc, argv) int ch, fd, rval; u_int32_t len, val; char *fn, *p; - int (*cfncn) __P((int, u_int32_t *, u_int32_t *)); - void (*pfncn) __P((char *, u_int32_t, u_int32_t)); + int (*cfncn)(int, u_int32_t *, u_int32_t *); + void (*pfncn)(char *, u_int32_t, u_int32_t); if ((p = rindex(argv[0], '/')) == NULL) p = argv[0]; diff --git a/usr.bin/cksum/extern.h b/usr.bin/cksum/extern.h index ab1ee73..452a3f9 100644 --- a/usr.bin/cksum/extern.h +++ b/usr.bin/cksum/extern.h @@ -37,11 +37,11 @@ #include <sys/cdefs.h> __BEGIN_DECLS -int crc __P((int, u_int32_t *, u_int32_t *)); -void pcrc __P((char *, u_int32_t, u_int32_t)); -void psum1 __P((char *, u_int32_t, u_int32_t)); -void psum2 __P((char *, u_int32_t, u_int32_t)); -int csum1 __P((int, u_int32_t *, u_int32_t *)); -int csum2 __P((int, u_int32_t *, u_int32_t *)); -int crc32 __P((int, u_int32_t *, u_int32_t *)); +int crc(int, u_int32_t *, u_int32_t *); +void pcrc(char *, u_int32_t, u_int32_t); +void psum1(char *, u_int32_t, u_int32_t); +void psum2(char *, u_int32_t, u_int32_t); +int csum1(int, u_int32_t *, u_int32_t *); +int csum2(int, u_int32_t *, u_int32_t *); +int crc32(int, u_int32_t *, u_int32_t *); __END_DECLS |