From 4e33a6b507fc226b398ac698c0187009c917fa76 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 21 May 2018 01:05:32 +0000 Subject: [PATCH] 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. --- usr.bin/top/sigconv.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/top/sigconv.awk b/usr.bin/top/sigconv.awk index f0fbcb59628c..528008662295 100644 --- a/usr.bin/top/sigconv.awk +++ b/usr.bin/top/sigconv.awk @@ -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]/ {