diff options
author | Denis Vlasenko | 2006-10-16 18:24:57 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-16 18:24:57 +0000 |
commit | 4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6 (patch) | |
tree | b4b826f9131cc411148bc99f81ac74283122c84f | |
parent | 5f03158f66dc2c73b052307f3871c4341fbabb8e (diff) | |
download | busybox-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.zip busybox-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.tar.gz |
strip -> $(STRIP); fix "unused variable" warning
(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | networking/ifupdown.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -681,7 +681,7 @@ busybox_unstripped: $(busybox-all) FORCE $(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, diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 00eb576..45407f9 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -1099,7 +1099,6 @@ int ifupdown_main(int argc, char **argv) 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 @@ int ifupdown_main(int argc, char **argv) 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; |