Author: eadler
Date: Mon May 21 01:05:32 2018
New Revision: 333952
URL: https://svnweb.freebsd.org/changeset/base/333952

Log:
  top(1): fix "variable without declaration" warning
  
  This is only shown at WARNS=6, but since we don't yet build at WARNS=2
  its hidden.

Modified:
  head/usr.bin/top/sigconv.awk

Modified: head/usr.bin/top/sigconv.awk
==============================================================================
--- head/usr.bin/top/sigconv.awk        Mon May 21 00:53:42 2018        
(r333951)
+++ head/usr.bin/top/sigconv.awk        Mon May 21 01:05:32 2018        
(r333952)
@@ -9,7 +9,7 @@ BEGIN           {
                    print "    const char * const name;"
                    print "    const int  number;"
                    print "};\n"
-                   print "struct sigdesc sigdesc[] = {"
+                   print "static struct sigdesc sigdesc[] = {"
                }
 
 /^#define[ \t][ \t]*SIG[A-Z]+[0-9]*[ \t]/      {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to