From b0d23d852cbe814e6bae96d64a9b313f9e93e06c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 20 Jul 2015 00:22:15 +0200 Subject: [PATCH] added missing return values --- project/tc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/tc.c b/project/tc.c index 464a79a..f9c1034 100644 --- a/project/tc.c +++ b/project/tc.c @@ -133,9 +133,11 @@ int tc_get_stats(struct nl_sock *sock, struct rtnl_tc *tc, struct tc_stats *stat counters[i] = rtnl_tc_get_stat(tc, i); nl_cache_free(cache); + + return 0; } int tc_print_stats(struct tc_stats *stats) { - + return 0; }