From cf5b80ba322df0ba630accf9cac13ef239e1cd7b Mon Sep 17 00:00:00 2001 From: "\"Robert P. J. Day\"" Date: Wed, 5 Jul 2006 12:47:26 +0000 Subject: [PATCH] This file doesn't appear to be used anywhere. --- networking/udhcp/frontend.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 networking/udhcp/frontend.c 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 - -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; -}