summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2005-11-22 07:52:54 +0000
committerRob Landley2005-11-22 07:52:54 +0000
commitb4c823211d7bc2e1b05e891e58a465f26ec05ff8 (patch)
tree44cd167436aa2bb75c8653b1a55a81920f5b010f
parentfae1dc86203c0e9f66b726495815b6fdea30b5ed (diff)
downloadbusybox-b4c823211d7bc2e1b05e891e58a465f26ec05ff8.zip
busybox-b4c823211d7bc2e1b05e891e58a465f26ec05ff8.tar.gz
Move interface.c to networking directory since it's only used by ifconfig.
-rw-r--r--libbb/Makefile.in1
-rw-r--r--networking/Makefile.in2
-rw-r--r--networking/interface.c (renamed from libbb/interface.c)0
3 files changed, 1 insertions, 2 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 37c25f9..3554123 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -37,7 +37,6 @@ LIBBB_SRC-y:= \
bb_echo.c
LIBBB_SRC-$(CONFIG_FEATURE_SHADOWPASSWDS)+= pwd2spwd.c
-LIBBB_SRC-$(CONFIG_IFCONFIG)+=interface.c
LIBBB_OBJS=$(patsubst %.c,$(LIBBB_DIR)%.o, $(LIBBB_SRC-y))
diff --git a/networking/Makefile.in b/networking/Makefile.in
index ecfd823..376ecea 100644
--- a/networking/Makefile.in
+++ b/networking/Makefile.in
@@ -17,7 +17,7 @@ NETWORKING-$(CONFIG_FTPGET) += ftpgetput.o
NETWORKING-$(CONFIG_FTPPUT) += ftpgetput.o
NETWORKING-$(CONFIG_HOSTNAME) += hostname.o
NETWORKING-$(CONFIG_HTTPD) += httpd.o
-NETWORKING-$(CONFIG_IFCONFIG) += ifconfig.o
+NETWORKING-$(CONFIG_IFCONFIG) += ifconfig.o interface.o
NETWORKING-$(CONFIG_IFUPDOWN) += ifupdown.o
NETWORKING-$(CONFIG_INETD) += inetd.o
NETWORKING-$(CONFIG_IP) += ip.o
diff --git a/libbb/interface.c b/networking/interface.c
index ce7d67d..ce7d67d 100644
--- a/libbb/interface.c
+++ b/networking/interface.c