svn commit: r333952 - head/usr.bin/top
Eitan Adler
eadler at FreeBSD.org
Mon May 21 01:05:33 UTC 2018
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]/ {
More information about the svn-src-all
mailing list