summaryrefslogtreecommitdiffstats
path: root/bin/cp/extern.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-02 06:15:22 +0000
committerimp <imp@FreeBSD.org>2002-02-02 06:15:22 +0000
commit41e5cc1a95a5bfa252a69404fcb3cd5e9eaec898 (patch)
tree6322786c2b91ab96c1f709f394e8db65851d90b8 /bin/cp/extern.h
parentef44ec93a71d6f956cf008bf3f58ad2fc4623a4f (diff)
downloadFreeBSD-src-41e5cc1a95a5bfa252a69404fcb3cd5e9eaec898.zip
FreeBSD-src-41e5cc1a95a5bfa252a69404fcb3cd5e9eaec898.tar.gz
Modernization effort for bin/c*:
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/cp/extern.h')
-rw-r--r--bin/cp/extern.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/cp/extern.h b/bin/cp/extern.h
index 4e5f07c..5647b5f 100644
--- a/bin/cp/extern.h
+++ b/bin/cp/extern.h
@@ -46,10 +46,10 @@ extern int iflag, pflag, fflag, vflag;
#include <sys/cdefs.h>
__BEGIN_DECLS
-int copy_fifo __P((struct stat *, int));
-int copy_file __P((FTSENT *, int));
-int copy_link __P((FTSENT *, int));
-int copy_special __P((struct stat *, int));
-int setfile __P((struct stat *, int));
-void usage __P((void));
+int copy_fifo(struct stat *, int);
+int copy_file(FTSENT *, int);
+int copy_link(FTSENT *, int);
+int copy_special(struct stat *, int);
+int setfile(struct stat *, int);
+void usage(void);
__END_DECLS
OpenPOWER on IntegriCloud