(rejectname): Use static storage duration for rejects[].
This commit is contained in:
parent
8a8fad04a4
commit
c791849595
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue