diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-12-11 16:58:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-12-11 16:58:52 +0000 |
commit | 213b266d2612be39f42620a2c88dc0e6ad164b1c (patch) | |
tree | a48374499d6db57b22c52069087937d93aa07eea /sbin/modunload | |
parent | 61a88ff5bf5e11ac7d93c5be481dd4307df4bd16 (diff) |
ansi
Diffstat (limited to 'sbin/modunload')
-rw-r--r-- | sbin/modunload/modunload.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sbin/modunload/modunload.c b/sbin/modunload/modunload.c index a9e65a7c888..32d533114dc 100644 --- a/sbin/modunload/modunload.c +++ b/sbin/modunload/modunload.c @@ -1,4 +1,4 @@ -/* $OpenBSD: modunload.c,v 1.10 2002/01/09 22:22:56 ericj Exp $ */ +/* $OpenBSD: modunload.c,v 1.11 2002/12/11 16:58:39 deraadt Exp $ */ /* $NetBSD: modunload.c,v 1.9 1995/05/28 05:23:05 jtc Exp $ */ /* @@ -51,7 +51,7 @@ static int devfd; static void -usage() +usage(void) { extern char *__progname; @@ -61,15 +61,13 @@ usage() } void -cleanup() +cleanup(void) { (void)close(devfd); } int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int c; long modnum = -1; |