summaryrefslogtreecommitdiff
path: root/usr.bin/lock
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2002-09-04 23:29:10 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2002-09-04 23:29:10 +0000
commitf4ac32def255b5968bdd8150057b9c0d14595689 (patch)
treefb230419005f211ecea1e667385bde9886dbf0d8 /usr.bin/lock
parentd946bf789255a84ecbbbdfd07bffb48da063204f (diff)
Notes
Diffstat (limited to 'usr.bin/lock')
-rw-r--r--usr.bin/lock/lock.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/lock/lock.c b/usr.bin/lock/lock.c
index 17f73128fd64..aa6af6af95d9 100644
--- a/usr.bin/lock/lock.c
+++ b/usr.bin/lock/lock.c
@@ -88,9 +88,7 @@ int vtyunlock; /* Unlock flag and code. */
/*ARGSUSED*/
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
struct passwd *pw;
struct timeval timval;
@@ -242,7 +240,7 @@ main(argc, argv)
static void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: lock [-npv] [-t timeout]\n");
exit(1);