Author: uqs
Date: Mon Feb 15 14:30:37 2010
New Revision: 203920
URL: http://svn.freebsd.org/changeset/base/203920

Log:
  grdc(6) make WARNS=6 clean and bump accordingly
  
  Approved by:          ed (Co-mentor)

Modified:
  head/games/grdc/Makefile
  head/games/grdc/grdc.c

Modified: head/games/grdc/Makefile
==============================================================================
--- head/games/grdc/Makefile    Mon Feb 15 14:29:17 2010        (r203919)
+++ head/games/grdc/Makefile    Mon Feb 15 14:30:37 2010        (r203920)
@@ -1,9 +1,9 @@
 # $FreeBSD$
 
-PROG=   grdc
-WARNS?=        2
-MAN=   grdc.6
-DPADD=  ${LIBNCURSES}
-LDADD=  -lncurses
+PROG=  grdc
+MAN=   grdc.6
+WARNS?=        6
+DPADD= ${LIBNCURSES}
+LDADD= -lncurses
 
 .include <bsd.prog.mk>

Modified: head/games/grdc/grdc.c
==============================================================================
--- head/games/grdc/grdc.c      Mon Feb 15 14:29:17 2010        (r203919)
+++ head/games/grdc/grdc.c      Mon Feb 15 14:30:37 2010        (r203920)
@@ -48,24 +48,22 @@ void movto(int, int);
 void sighndl(int);
 void usage(void);
 
-void sighndl(signo)
-int signo;
+void
+sighndl(int signo)
 {
        sigtermed=signo;
 }
 
 int
-main(argc, argv)
-int argc;
-char **argv;
-{
-struct timespec ts;
-long t, a;
-int i, j, s, k;
-int n;
-int ch;
-int scrol;
-int t12;
+main(int argc, char *argv[])
+{
+       struct timespec ts;
+       long t, a;
+       int i, j, s, k;
+       int n;
+       int ch;
+       int scrol;
+       int t12;
 
        t12 = scrol = 0;
 
@@ -225,7 +223,7 @@ int t12;
 void
 set(int t, int n)
 {
-int i, m;
+       int i, m;
 
        m = 7<<n;
        for(i=0; i<5; i++) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to