diff options
-rw-r--r-- | networking/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c index ce7d67da7..554dc16d0 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -1038,7 +1038,7 @@ static char *get_name(char *name, char *p) | |||
1038 | * old approach of multiple scanf occurrences with large numbers of | 1038 | * old approach of multiple scanf occurrences with large numbers of |
1039 | * args. */ | 1039 | * args. */ |
1040 | 1040 | ||
1041 | /* static const char *ss_fmt[] = { */ | 1041 | /* static const char * const ss_fmt[] = { */ |
1042 | /* "%Ln%Lu%lu%lu%lu%lu%ln%ln%Ln%Lu%lu%lu%lu%lu%lu", */ | 1042 | /* "%Ln%Lu%lu%lu%lu%lu%ln%ln%Ln%Lu%lu%lu%lu%lu%lu", */ |
1043 | /* "%Lu%Lu%lu%lu%lu%lu%ln%ln%Lu%Lu%lu%lu%lu%lu%lu", */ | 1043 | /* "%Lu%Lu%lu%lu%lu%lu%ln%ln%Lu%Lu%lu%lu%lu%lu%lu", */ |
1044 | /* "%Lu%Lu%lu%lu%lu%lu%lu%lu%Lu%Lu%lu%lu%lu%lu%lu%lu" */ | 1044 | /* "%Lu%Lu%lu%lu%lu%lu%lu%lu%Lu%Lu%lu%lu%lu%lu%lu%lu" */ |
@@ -1359,7 +1359,7 @@ static int do_if_fetch(struct interface *ife) | |||
1359 | 1359 | ||
1360 | /* This structure defines hardware protocols and their handlers. */ | 1360 | /* This structure defines hardware protocols and their handlers. */ |
1361 | struct hwtype { | 1361 | struct hwtype { |
1362 | const char *name; | 1362 | const char * const name; |
1363 | const char *title; | 1363 | const char *title; |
1364 | int type; | 1364 | int type; |
1365 | int alen; | 1365 | int alen; |