diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-03 23:39:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-03 23:39:04 +0000 |
commit | 0a7f78ce521b8f2d0e02c39b1c663995d877822b (patch) | |
tree | 1dc5216cd561882eeca12ddf49b3a0bf4fabd450 /libexec/lockspool | |
parent | 6ca26ba93eb2abc4cb49a04978cae62171cb4523 (diff) |
KNF
Diffstat (limited to 'libexec/lockspool')
-rw-r--r-- | libexec/lockspool/lockspool.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libexec/lockspool/lockspool.c b/libexec/lockspool/lockspool.c index 7c18f4bc46a..8f392dea89c 100644 --- a/libexec/lockspool/lockspool.c +++ b/libexec/lockspool/lockspool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lockspool.c,v 1.7 2002/02/16 21:27:30 millert Exp $ */ +/* $OpenBSD: lockspool.c,v 1.8 2002/07/03 23:39:03 deraadt Exp $ */ /* * Copyright (c) 1998 Theo de Raadt <deraadt@theos.com> @@ -29,7 +29,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.7 2002/02/16 21:27:30 millert Exp $"; +static const char rcsid[] = "$OpenBSD: lockspool.c,v 1.8 2002/07/03 23:39:03 deraadt Exp $"; #endif /* not lint */ #include <sys/signal.h> @@ -46,9 +46,7 @@ void usage(void); extern char *__progname; int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { struct passwd *pw; char *from, c; @@ -97,8 +95,7 @@ main(argc, argv) } void -unhold(sig) - int sig; +unhold(int signo) { rellock(); @@ -106,7 +103,7 @@ unhold(sig) } void -usage() +usage(void) { merr(FATAL, "usage: %s [username]", __progname); |