diff options
Diffstat (limited to 'sbin/wsconsctl/wsconsctl.c')
-rw-r--r-- | sbin/wsconsctl/wsconsctl.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c index ef00cff202c..bd146e1672e 100644 --- a/sbin/wsconsctl/wsconsctl.c +++ b/sbin/wsconsctl/wsconsctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsctl.c,v 1.11 2002/05/22 20:36:06 mickey Exp $ */ +/* $OpenBSD: wsconsctl.c,v 1.12 2002/12/11 16:58:51 deraadt Exp $ */ /* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */ /*- @@ -75,8 +75,7 @@ struct vartypesw { struct vartypesw *tab_by_name(const char *); void -usage(msg) - char *msg; +usage(char *msg) { if (msg != NULL) fprintf(stderr, "%s: %s\n", __progname, msg); @@ -91,9 +90,7 @@ usage(msg) } int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { int i, ch, error; int aflag, wflag; @@ -227,8 +224,7 @@ main(argc, argv) } struct vartypesw * -tab_by_name(var) - const char *var; +tab_by_name(const char *var) { struct vartypesw *sw; const char *p = strchr(var, '.'); |