(rejectname): Use static storage duration for rejects[].

This commit is contained in:
Markus Armbruster 2006-01-06 17:58:21 +00:00
parent 8a8fad04a4
commit c791849595

View file

@ -64,7 +64,7 @@ relatename(struct natstr *np, natid other)
char * char *
rejectname(struct natstr *np, natid other) rejectname(struct natstr *np, natid other)
{ {
char *rejects[] = { static char *rejects[] = {
/* must follow reject flags defined in nat.h */ /* must follow reject flags defined in nat.h */
" YES YES YES YES", " YES YES YES YES",
" NO YES YES YES", " NO YES YES YES",