Loading netcfg/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ LOCAL_MODULE:= netcfg #LOCAL_STATIC_LIBRARIES := libcutils libc LOCAL_SHARED_LIBRARIES := libc libnetutils LOCAL_CFLAGS := -Werror include $(BUILD_EXECUTABLE) endif netcfg/netcfg.c +4 −9 Original line number Diff line number Diff line /* system/bin/netcfg/netcfg.c ** /* ** Copyright 2006, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); Loading @@ -15,18 +14,14 @@ ** limitations under the License. */ #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <dirent.h> #include <netinet/ether.h> #include <netinet/if_ether.h> #include <netutils/ifc.h> #include <netutils/dhcp.h> static int verbose = 0; #include <netutils/ifc.h> #include <stdio.h> #include <stdlib.h> void die(const char *reason) { Loading Loading
netcfg/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ LOCAL_MODULE:= netcfg #LOCAL_STATIC_LIBRARIES := libcutils libc LOCAL_SHARED_LIBRARIES := libc libnetutils LOCAL_CFLAGS := -Werror include $(BUILD_EXECUTABLE) endif
netcfg/netcfg.c +4 −9 Original line number Diff line number Diff line /* system/bin/netcfg/netcfg.c ** /* ** Copyright 2006, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); Loading @@ -15,18 +14,14 @@ ** limitations under the License. */ #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <dirent.h> #include <netinet/ether.h> #include <netinet/if_ether.h> #include <netutils/ifc.h> #include <netutils/dhcp.h> static int verbose = 0; #include <netutils/ifc.h> #include <stdio.h> #include <stdlib.h> void die(const char *reason) { Loading