bc(1): Raise WARNS to 3 and fix a warning.
authorSascha Wildner <saw@online.de>
Mon, 23 Jul 2012 17:38:29 +0000 (19:38 +0200)
committerSascha Wildner <saw@online.de>
Mon, 23 Jul 2012 17:38:29 +0000 (19:38 +0200)
usr.bin/bc/Makefile
usr.bin/bc/bc.y

index 5caf951..35b7d26 100644 (file)
@@ -3,7 +3,7 @@
 PROG=          bc
 SRCS=          bc.y scan.l y.tab.h
 CFLAGS+=       -I. -I${.CURDIR}
-WARNS?=                2
+WARNS?=                3
 
 DPADD=         ${LIBEDIT} ${LIBTERMCAP}
 LDADD=         -ledit -ltermcap
index f129a70..1816138 100644 (file)
@@ -1056,7 +1056,7 @@ escape(const char *str)
 }
 
 /* ARGSUSED */
-void
+static void
 sigchld(int signo)
 {
        pid_t pid;