summaryrefslogtreecommitdiff
path: root/networking/interface.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-01-19 14:51:17 +0000
committerBernhard Reutner-Fischer2006-01-19 14:51:17 +0000
commita901b404644a8ab33a5ca595a39d4f3c0754f5c4 (patch)
treee8b4bd2a60c7d75bc09d7504953e017a912ce3d5 /networking/interface.c
parentf771d88443221a3e6c16d7ab44e70fdd2778210d (diff)
downloadbusybox-a901b404644a8ab33a5ca595a39d4f3c0754f5c4.zip
busybox-a901b404644a8ab33a5ca595a39d4f3c0754f5c4.tar.gz
- missing bits of patch attached to bug #249 (constify).
Diffstat (limited to 'networking/interface.c')
-rw-r--r--networking/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c
index ce7d67d..554dc16 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -1038,7 +1038,7 @@ static char *get_name(char *name, char *p)
* old approach of multiple scanf occurrences with large numbers of
* args. */
-/* static const char *ss_fmt[] = { */
+/* static const char * const ss_fmt[] = { */
/* "%Ln%Lu%lu%lu%lu%lu%ln%ln%Ln%Lu%lu%lu%lu%lu%lu", */
/* "%Lu%Lu%lu%lu%lu%lu%ln%ln%Lu%Lu%lu%lu%lu%lu%lu", */
/* "%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)
/* This structure defines hardware protocols and their handlers. */
struct hwtype {
- const char *name;
+ const char * const name;
const char *title;
int type;
int alen;