From 412c8d190221b0699b15fb1570b351c66297b747 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Sun, 8 Mar 2020 20:41:53 +0100 Subject: [PATCH] fuzz: fix compiler error "missing prototype" --- test/fuzz/fuzz_common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/fuzz/fuzz_common.c b/test/fuzz/fuzz_common.c index 859fa0de..568addf8 100644 --- a/test/fuzz/fuzz_common.c +++ b/test/fuzz/fuzz_common.c @@ -95,7 +95,10 @@ static void pcap_dump_init(void) } /* This function might have to be called from LWIP_PLATFORM_ASSERT() - * in order to produce correct pcap results on crash. */ + * in order to produce correct pcap results on crash. + * Define this global so that for a test, we can call this from anywhere... + */ +void pcap_dump_stop(void); void pcap_dump_stop(void) { if (fpcap != NULL) {