diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-02-02 06:24:13 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-02-02 06:24:13 +0000 |
commit | f9bcb0beb529e74510077ff052839d7ad2817950 (patch) | |
tree | bb89216bd31fd20d2f8d292f03ed0842028b958d /bin/dd/extern.h | |
parent | 5dce647c1b3b206238c72385c0b16f62e508ec30 (diff) | |
download | src-f9bcb0beb529e74510077ff052839d7ad2817950.tar.gz src-f9bcb0beb529e74510077ff052839d7ad2817950.zip |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
Notes
Notes:
svn path=/head/; revision=90108
Diffstat (limited to 'bin/dd/extern.h')
-rw-r--r-- | bin/dd/extern.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/dd/extern.h b/bin/dd/extern.h index 7f01b8ba21b5..8bbb357cc9a7 100644 --- a/bin/dd/extern.h +++ b/bin/dd/extern.h @@ -40,23 +40,23 @@ #include <sys/cdefs.h> -void block __P((void)); -void block_close __P((void)); -void dd_out __P((int)); -void def __P((void)); -void def_close __P((void)); -void jcl __P((char **)); -void pos_in __P((void)); -void pos_out __P((void)); -void summary __P((void)); -void summaryx __P((int)); -void terminate __P((int)); -void unblock __P((void)); -void unblock_close __P((void)); +void block(void); +void block_close(void); +void dd_out(int); +void def(void); +void def_close(void); +void jcl(char **); +void pos_in(void); +void pos_out(void); +void summary(void); +void summaryx(int); +void terminate(int); +void unblock(void); +void unblock_close(void); extern IO in, out; extern STAT st; -extern void (*cfunc) __P((void)); +extern void (*cfunc)(void); extern u_quad_t cpy_cnt; extern size_t cbsz; extern u_int ddflags; |