summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2012-07-14 08:28:48 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2012-07-14 08:28:48 +0000
commit7afaa7e3a4eb7233e30986bb521fe51b72f3342f (patch)
treee7c6cf28c94eaaabfa27c76f598e1747730260e8 /sbin/wsconsctl
parent5b0d42f1c6e226ec2e29e26169335973f407fee4 (diff)
ansify
ok deraadt@
Diffstat (limited to 'sbin/wsconsctl')
-rw-r--r--sbin/wsconsctl/map_scan.l5
-rw-r--r--sbin/wsconsctl/wsconsctl.c4
2 files changed, 4 insertions, 5 deletions
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"