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.
This commit is contained in:
Eitan Adler 2018-05-21 01:05:32 +00:00
parent 666cf87393
commit 4e33a6b507
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333952

View File

@ -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]/ {