ansify -- Alexandr Shadchin
Index: map_scan.l =================================================================== RCS file: /cvs/src/sbin/wsconsctl/map_scan.l,v retrieving revision 1.3 diff -u -p -r1.3 map_scan.l --- map_scan.l 26 Jun 2008 05:42:06 -0000 1.3 +++ map_scan.l 13 Jul 2012 21:20:13 -0000 @@ -41,8 +41,7 @@ #define yywrap() 1 void -map_scan_setinput(str) - char *str; +map_scan_setinput(char *str) { yy_scan_string(str); } Index: wsconsctl.c =================================================================== RCS file: /cvs/src/sbin/wsconsctl/wsconsctl.c,v retrieving revision 1.26 diff -u -p -r1.26 wsconsctl.c --- wsconsctl.c 20 Aug 2010 00:20:55 -0000 1.26 +++ wsconsctl.c 13 Jul 2012 21:20:13 -0000 @@ -66,7 +66,7 @@ struct vartypesw { struct vartypesw *tab_by_name(const char *, int *); void -usage() +usage(void) { fprintf(stderr, "usage: %s [-an]\n"