diff options
author | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-05 16:47:26 +0400 |
---|---|---|
committer | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-05 16:47:26 +0400 |
commit | cf5b80ba322df0ba630accf9cac13ef239e1cd7b (patch) | |
tree | 65e192e133fcbcfd84c4d2aacdca87e339d18fdd | |
parent | 273430aa8d3ca6946bf12267320375dcb4945256 (diff) |
This file doesn't appear to be used anywhere.
-rw-r--r-- | networking/udhcp/frontend.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/networking/udhcp/frontend.c b/networking/udhcp/frontend.c deleted file mode 100644 index 0f072b9f5..000000000 --- a/networking/udhcp/frontend.c +++ /dev/null @@ -1,17 +0,0 @@ -/* vi: set sw=4 ts=4: */ -#include <string.h> - -extern int udhcpd_main(int argc, char *argv[]); -extern int udhcpc_main(int argc, char *argv[]); - -int main(int argc, char *argv[]) -{ - int ret = 0; - char *base = strrchr(argv[0], '/'); - - if (strstr(base ? (base + 1) : argv[0], "dhcpd")) - ret = udhcpd_main(argc, argv); - else ret = udhcpc_main(argc, argv); - - return ret; -} |