summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Goldschmidt <[email protected]>2018-06-14 15:01:57 +0200
committerSimon Goldschmidt <[email protected]>2018-06-14 15:01:57 +0200
commite61b925709ccea66a33b510b3669d878a594ac7a (patch)
treebe09608152e8c45c8fff9fba4384e9bd3861302a /test
parent944f286d87f625c82a340b800094503867a09a97 (diff)
try to fix compiling with gcc & clang
Diffstat (limited to 'test')
-rw-r--r--test/unit/udp/test_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/udp/test_udp.c b/test/unit/udp/test_udp.c
index 83ce2e31..e26a83ec 100644
--- a/test/unit/udp/test_udp.c
+++ b/test/unit/udp/test_udp.c
@@ -149,7 +149,7 @@ START_TEST(test_udp_new_remove)
}
END_TEST
-void test_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p,
+static void test_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p,
const ip_addr_t *addr, u16_t port)
{
struct test_udp_rxdata *ctr = (struct test_udp_rxdata *)arg;