File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ getname6(const u_char *ap)
311
311
}
312
312
#endif /* INET6 */
313
313
314
- static char hex [] = "0123456789abcdef" ;
314
+ static const char hex [] = "0123456789abcdef" ;
315
315
316
316
317
317
/* Find the hash node that corresponds the ether address 'ep' */
@@ -747,7 +747,7 @@ init_eprotoarray(void)
747
747
}
748
748
}
749
749
750
- static struct protoidlist {
750
+ static const struct protoidlist {
751
751
const u_char protoid [5 ];
752
752
const char * name ;
753
753
} protoidlist [] = {
@@ -792,7 +792,7 @@ init_protoidarray(void)
792
792
}
793
793
}
794
794
795
- static struct etherlist {
795
+ static const struct etherlist {
796
796
const u_char addr [6 ];
797
797
const char * name ;
798
798
} etherlist [] = {
@@ -861,7 +861,7 @@ init_etherarray(void)
861
861
}
862
862
}
863
863
864
- static struct tok ipxsap_db [] = {
864
+ static const struct tok ipxsap_db [] = {
865
865
{ 0x0000 , "Unknown" },
866
866
{ 0x0001 , "User" },
867
867
{ 0x0002 , "User Group" },
You can’t perform that action at this time.
0 commit comments