@@ -86,12 +86,12 @@ struct hnamemem {
86
86
struct hnamemem * nxt ;
87
87
};
88
88
89
- struct hnamemem hnametable [HASHNAMESIZE ];
90
- struct hnamemem tporttable [HASHNAMESIZE ];
91
- struct hnamemem uporttable [HASHNAMESIZE ];
92
- struct hnamemem eprototable [HASHNAMESIZE ];
93
- struct hnamemem dnaddrtable [HASHNAMESIZE ];
94
- struct hnamemem ipxsaptable [HASHNAMESIZE ];
89
+ static struct hnamemem hnametable [HASHNAMESIZE ];
90
+ static struct hnamemem tporttable [HASHNAMESIZE ];
91
+ static struct hnamemem uporttable [HASHNAMESIZE ];
92
+ static struct hnamemem eprototable [HASHNAMESIZE ];
93
+ static struct hnamemem dnaddrtable [HASHNAMESIZE ];
94
+ static struct hnamemem ipxsaptable [HASHNAMESIZE ];
95
95
96
96
#if defined(INET6 ) && defined(WIN32 )
97
97
/*
@@ -140,7 +140,7 @@ struct h6namemem {
140
140
struct h6namemem * nxt ;
141
141
};
142
142
143
- struct h6namemem h6nametable [HASHNAMESIZE ];
143
+ static struct h6namemem h6nametable [HASHNAMESIZE ];
144
144
#endif /* INET6 */
145
145
146
146
struct enamemem {
@@ -153,9 +153,9 @@ struct enamemem {
153
153
struct enamemem * e_nxt ;
154
154
};
155
155
156
- struct enamemem enametable [HASHNAMESIZE ];
157
- struct enamemem nsaptable [HASHNAMESIZE ];
158
- struct enamemem bytestringtable [HASHNAMESIZE ];
156
+ static struct enamemem enametable [HASHNAMESIZE ];
157
+ static struct enamemem nsaptable [HASHNAMESIZE ];
158
+ static struct enamemem bytestringtable [HASHNAMESIZE ];
159
159
160
160
struct protoidmem {
161
161
u_int32_t p_oui ;
@@ -164,7 +164,7 @@ struct protoidmem {
164
164
struct protoidmem * p_nxt ;
165
165
};
166
166
167
- struct protoidmem protoidtable [HASHNAMESIZE ];
167
+ static struct protoidmem protoidtable [HASHNAMESIZE ];
168
168
169
169
/*
170
170
* A faster replacement for inet_ntoa().
0 commit comments