top(1): be constant in a structure

This silences some warnings that are still hidden since the remainder of
top(1) does not build with higher WARNS yet.
This commit is contained in:
Eitan Adler 2018-05-20 01:30:19 +00:00
parent 5d9bb5d96d
commit b8b7822214
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333907

View File

@ -6,8 +6,8 @@ BEGIN {
print "/* This file was automatically generated */"
print "/* by the awk script \"sigconv.awk\". */\n"
print "struct sigdesc {"
print " char *name;"
print " int number;"
print " const char * const name;"
print " const int number;"
print "};\n"
print "struct sigdesc sigdesc[] = {"
}