From 7afaa7e3a4eb7233e30986bb521fe51b72f3342f Mon Sep 17 00:00:00 2001 From: Alexandr Shadchin Date: Sat, 14 Jul 2012 08:28:48 +0000 Subject: ansify ok deraadt@ --- sbin/wsconsctl/map_scan.l | 5 ++--- sbin/wsconsctl/wsconsctl.c | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'sbin/wsconsctl') diff --git a/sbin/wsconsctl/map_scan.l b/sbin/wsconsctl/map_scan.l index 27a8b19821e..ec5e172cc74 100644 --- a/sbin/wsconsctl/map_scan.l +++ b/sbin/wsconsctl/map_scan.l @@ -1,4 +1,4 @@ -/* $OpenBSD: map_scan.l,v 1.3 2008/06/26 05:42:06 ray Exp $ */ +/* $OpenBSD: map_scan.l,v 1.4 2012/07/14 08:28:47 shadchin Exp $ */ /* $NetBSD: map_scan.l 1.1 1998/12/28 14:01:17 hannken Exp $ */ /*- @@ -41,8 +41,7 @@ #define yywrap() 1 void -map_scan_setinput(str) - char *str; +map_scan_setinput(char *str) { yy_scan_string(str); } diff --git a/sbin/wsconsctl/wsconsctl.c b/sbin/wsconsctl/wsconsctl.c index bdffbc2f567..4d0878bf27f 100644 --- a/sbin/wsconsctl/wsconsctl.c +++ b/sbin/wsconsctl/wsconsctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsctl.c,v 1.27 2012/07/14 08:25:12 shadchin Exp $ */ +/* $OpenBSD: wsconsctl.c,v 1.28 2012/07/14 08:28:47 shadchin Exp $ */ /* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */ /*- @@ -66,7 +66,7 @@ struct vartypesw { struct vartypesw *tab_by_name(const char *, int *); void -usage() +usage(void) { fprintf(stderr, "usage: %s [-an]\n" -- cgit v1.2.3