diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-03 22:32:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-03 22:32:35 +0000 |
commit | a9a4354fed4cec65ca359fe04095a7a7d4823a8a (patch) | |
tree | 0fedc69061ae9a279d3db23f185ff0b038a706d9 /sbin/kbd/main.c | |
parent | 4c287e033bc1d7be66ec3f6c6735246a781a9e08 (diff) |
ansi
Diffstat (limited to 'sbin/kbd/main.c')
-rw-r--r-- | sbin/kbd/main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/kbd/main.c b/sbin/kbd/main.c index 85a0f946fcf..9e6982a10b3 100644 --- a/sbin/kbd/main.c +++ b/sbin/kbd/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.4 2002/02/16 21:27:35 millert Exp $ */ +/* $OpenBSD: main.c,v 1.5 2002/07/03 22:32:33 deraadt Exp $ */ /* * Copyright (c) 1996 Juergen Hannken-Illjes @@ -41,7 +41,7 @@ extern void kbd_set(char *, int); extern char *__progname; static void -usage() +usage(void) { fprintf(stderr, "usage: %s -l or %s [-q] name\n", __progname, __progname); @@ -49,9 +49,7 @@ usage() } int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { char *optstring = "lq"; int ch, list_tables, verbose; |