[git commit master 1/1] *: s/spaces/tabs/

Denys Vlasenko vda.linux at googlemail.com
Mon Jul 26 10:47:36 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=b4d035165f9304e869ec2733ee6ded058c4c9270
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 docs/ifupdown_design.txt |   28 ++++++++++++++--------------
 scripts/kconfig/zconf.y  |    2 +-
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/docs/ifupdown_design.txt b/docs/ifupdown_design.txt
index 8008e45..8ab4e51 100644
--- a/docs/ifupdown_design.txt
+++ b/docs/ifupdown_design.txt
@@ -10,27 +10,27 @@ for that.
 We are doomed to have problems with ifup/ifdown. Just look as this code:
 
 static const struct dhcp_client_t ext_dhcp_clients[] = {
-       { "dhcpcd", "<up cmd>", "<down cmd>" },
-       { "dhclient", ........ },
-       { "pump", ........ },
-       { "udhcpc", ........ },
+	{ "dhcpcd", "<up cmd>", "<down cmd>" },
+	{ "dhclient", ........ },
+	{ "pump", ........ },
+	{ "udhcpc", ........ },
 };
 
 static int dhcp_down(struct interface_defn_t *ifd, execfn *exec)
 {
 #if ENABLE_FEATURE_IFUPDOWN_EXTERNAL_DHCP
-       int i ;
-       for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) {
-               if (exists_execable(ext_dhcp_clients[i].name))
-                       return execute(ext_dhcp_clients[i].stopcmd, ifd, exec);
-       }
-       bb_error_msg("no dhcp clients found, using static interface shutdown");
-       return static_down(ifd, exec);
+	int i ;
+	for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) {
+		if (exists_execable(ext_dhcp_clients[i].name))
+			return execute(ext_dhcp_clients[i].stopcmd, ifd, exec);
+	}
+	bb_error_msg("no dhcp clients found, using static interface shutdown");
+	return static_down(ifd, exec);
 #elif ENABLE_UDHCPC
-       return execute("kill "
-                      "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
+	return execute("kill "
+			"`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
 #else
-       return 0; /* no dhcp support */
+	return 0; /* no dhcp support */
 #endif
 }
 
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index 2007a4e..bef5e92 100644
--- a/scripts/kconfig/zconf.y
+++ b/scripts/kconfig/zconf.y
@@ -473,7 +473,7 @@ void conf_parse(const char *name)
 	menu_finalize(&rootmenu);
 	for_all_symbols(i, sym) {
 		sym_check_deps(sym);
-        }
+	}
 
 	sym_change_count = 1;
 }
-- 
1.7.1



More information about the busybox-cvs mailing list