svn commit: trunk/busybox: networking
vda at busybox.net
vda at busybox.net
Mon Oct 16 11:24:58 PDT 2006
Author: vda
Date: 2006-10-16 11:24:57 -0700 (Mon, 16 Oct 2006)
New Revision: 16396
Log:
strip -> $(STRIP); fix "unused variable" warning
(patch by Diekema, Jon (AGRE) <Jon.Diekema at smiths-aerospace.com>)
Modified:
trunk/busybox/Makefile
trunk/busybox/networking/ifupdown.c
Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile 2006-10-16 14:25:06 UTC (rev 16395)
+++ trunk/busybox/Makefile 2006-10-16 18:24:57 UTC (rev 16396)
@@ -681,7 +681,7 @@
$(Q)rm -f .old_version
busybox: busybox_unstripped
- $(Q)strip -s --remove-section=.note --remove-section=.comment \
+ $(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \
busybox_unstripped -o $@
# The actual objects are generated when descending,
Modified: trunk/busybox/networking/ifupdown.c
===================================================================
--- trunk/busybox/networking/ifupdown.c 2006-10-16 14:25:06 UTC (rev 16395)
+++ trunk/busybox/networking/ifupdown.c 2006-10-16 18:24:57 UTC (rev 16396)
@@ -1099,7 +1099,6 @@
llist_t *target_list = NULL;
const char *interfaces = "/etc/network/interfaces";
int any_failures = 0;
- int i;
if (applet_name[2] == 'u') {
/* ifup command */
@@ -1188,6 +1187,7 @@
struct mapping_defn_t *currmap;
for (currmap = defn->mappings; currmap; currmap = currmap->next) {
+ int i;
for (i = 0; i < currmap->n_matches; i++) {
if (fnmatch(currmap->match[i], liface, 0) != 0)
continue;
More information about the busybox-cvs
mailing list