svn commit: trunk/busybox/networking

aldot at busybox.net aldot at busybox.net
Thu Jan 19 14:51:18 UTC 2006


Author: aldot
Date: 2006-01-19 06:51:17 -0800 (Thu, 19 Jan 2006)
New Revision: 13426

Log:
- missing bits of patch attached to bug #249 (constify).


Modified:
   trunk/busybox/networking/interface.c


Changeset:
Modified: trunk/busybox/networking/interface.c
===================================================================
--- trunk/busybox/networking/interface.c	2006-01-19 14:45:16 UTC (rev 13425)
+++ trunk/busybox/networking/interface.c	2006-01-19 14:51:17 UTC (rev 13426)
@@ -1038,7 +1038,7 @@
  * 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 @@
 
 /* This structure defines hardware protocols and their handlers. */
 struct hwtype {
-	const char *name;
+	const char * const name;
 	const char *title;
 	int type;
 	int alen;




More information about the busybox-cvs mailing list