diff options
author | imp <imp@FreeBSD.org> | 2002-02-02 06:15:22 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-02 06:15:22 +0000 |
commit | 41e5cc1a95a5bfa252a69404fcb3cd5e9eaec898 (patch) | |
tree | 6322786c2b91ab96c1f709f394e8db65851d90b8 /bin/chio/defs.h | |
parent | ef44ec93a71d6f956cf008bf3f58ad2fc4623a4f (diff) | |
download | FreeBSD-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/chio/defs.h')
-rw-r--r-- | bin/chio/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chio/defs.h b/bin/chio/defs.h index 863e3db..17d2abf 100644 --- a/bin/chio/defs.h +++ b/bin/chio/defs.h @@ -40,7 +40,7 @@ struct element_type { struct changer_command { const char *cc_name; /* command name */ /* command handler */ - int (*cc_handler) __P((const char *, int, char **)); + int (*cc_handler)(const char *, int, char **); }; struct special_word { |