summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-26 07:30:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-26 07:30:36 +0200
commitb3b65cf62fc7fb271f9a20456cbeb21a8fd95418 (patch)
treea1737baa45e1552559fbfc3199f8619989492399 /src
parent67f8a0895c11ddce638c446ffe42a238307292e1 (diff)
receive: mark function static
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index ee84b49..ae79354 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -242,7 +242,7 @@ out:
}
#include "selftest/counter.h"
-void packet_consume_data_done(struct sk_buff *skb, struct wireguard_peer *peer, struct endpoint *endpoint, bool used_new_key)
+static void packet_consume_data_done(struct sk_buff *skb, struct wireguard_peer *peer, struct endpoint *endpoint, bool used_new_key)
{
struct net_device *dev = peer->device->dev;
struct wireguard_peer *routed_peer;