summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-09-22 13:12:36 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-09-22 13:12:36 +0400
commitfb1f7723afe46d696ba62597909066fea42bfaec (patch)
treec8558ba2abe0899173b85d6724eadcbbb24c0b71 /accel-pppd/shaper
parent62e89248160d3592c2d754fcaa15e37586a5b091 (diff)
downloadaccel-ppp-fb1f7723afe46d696ba62597909066fea42bfaec.tar.gz
accel-ppp-fb1f7723afe46d696ba62597909066fea42bfaec.zip
fixed compilation warnings
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r--accel-pppd/shaper/leaf_qdisc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/shaper/leaf_qdisc.c b/accel-pppd/shaper/leaf_qdisc.c
index 6c90968a..cdc9eed3 100644
--- a/accel-pppd/shaper/leaf_qdisc.c
+++ b/accel-pppd/shaper/leaf_qdisc.c
@@ -56,6 +56,7 @@ static int parse_size(const char *str, int *r)
return 0;
}
+#ifdef TCA_FQ_CODEL_MAX
static int parse_time(const char *str, int *r)
{
double t;
@@ -82,7 +83,7 @@ static int parse_time(const char *str, int *r)
return 0;
}
-
+#endif
static int parse_int(const char *str, int *r)
{