summaryrefslogtreecommitdiffstats
path: root/bin/dd/extern.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-02 06:24:13 +0000
committerimp <imp@FreeBSD.org>2002-02-02 06:24:13 +0000
commit5203a0a465a65bd5e6e40b6364bb0dbe05feb7cf (patch)
treebb89216bd31fd20d2f8d292f03ed0842028b958d /bin/dd/extern.h
parent41e5cc1a95a5bfa252a69404fcb3cd5e9eaec898 (diff)
downloadFreeBSD-src-5203a0a465a65bd5e6e40b6364bb0dbe05feb7cf.zip
FreeBSD-src-5203a0a465a65bd5e6e40b6364bb0dbe05feb7cf.tar.gz
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)
Diffstat (limited to 'bin/dd/extern.h')
-rw-r--r--bin/dd/extern.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/dd/extern.h b/bin/dd/extern.h
index 7f01b8b..8bbb357 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;
OpenPOWER on IntegriCloud