summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-01-27 11:32:18 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-01-27 11:33:30 +0100
commit56fd1dec9b72960a19d07b4b145b0811257359ab (patch)
tree3dabda0c78458db5381a5fb527f9ba105c50eef4
parentd10b477ea22e9f542ab3fd662777db061d137108 (diff)
ring: Make needlessly global function join_fanout_group() static
This fixes the following sparse warning: ring_rx.c:197:6: warning: symbol 'join_fanout_group' was not declared. Should it be static? Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--ring_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_rx.c b/ring_rx.c
index 9c63dbd..f40ad2f 100644
--- a/ring_rx.c
+++ b/ring_rx.c
@@ -194,7 +194,7 @@ static void alloc_rx_ring_frames(int sock, struct ring *ring)
rx_ring_get_size(ring, v3));
}
-void join_fanout_group(int sock, uint32_t fanout_group, uint32_t fanout_type)
+static void join_fanout_group(int sock, uint32_t fanout_group, uint32_t fanout_type)
{
uint32_t fanout_opt = 0;
int ret;