From: osdl.org!shemminger Date: Wed, 9 Jun 2004 21:30:36 +0000 (+0000) Subject: Get rid of warnings from unused funcs. X-Git-Tag: v2_6_7-040701~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7cad0a1ecdec1f813272f84bbb6ab49b9dfd47e;p=thirdparty%2Fiproute2.git Get rid of warnings from unused funcs. (Logical change 1.24) --- diff --git a/tc/q_csz.c b/tc/q_csz.c index e2734cda7..e79856718 100644 --- a/tc/q_csz.c +++ b/tc/q_csz.c @@ -23,17 +23,6 @@ #include "utils.h" #include "tc_util.h" -static void explain() -{ - fprintf(stderr, "Usage: ... csz \n"); -} - -static void explain1(char *arg) -{ - fprintf(stderr, "Illegal \"%s\"\n", arg); -} - - #define usage() return(-1) static int csz_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) diff --git a/tc/q_hfsc.c b/tc/q_hfsc.c index b9b7b7517..b74dd721d 100644 --- a/tc/q_hfsc.c +++ b/tc/q_hfsc.c @@ -23,17 +23,6 @@ #include "utils.h" #include "tc_util.h" -static void explain() -{ - fprintf(stderr, "Usage: ... hfsc \n"); -} - -static void explain1(char *arg) -{ - fprintf(stderr, "Illegal \"%s\"\n", arg); -} - - #define usage() return(-1) static int hfsc_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) diff --git a/tc/q_hpfq.c b/tc/q_hpfq.c index c2963669c..22ab518e9 100644 --- a/tc/q_hpfq.c +++ b/tc/q_hpfq.c @@ -23,17 +23,6 @@ #include "utils.h" #include "tc_util.h" -static void explain() -{ - fprintf(stderr, "Usage: ... hpfq \n"); -} - -static void explain1(char *arg) -{ - fprintf(stderr, "Illegal \"%s\"\n", arg); -} - - #define usage() return(-1) static int hpfq_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)