From: Eric Leblond Date: Tue, 26 Dec 2017 19:14:24 +0000 (+0100) Subject: tm-threads: fix build warning in afl mode X-Git-Tag: suricata-4.1.0-beta1~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356440b3805b29baf4ffb7126028f257de4717ff;p=thirdparty%2Fsuricata.git tm-threads: fix build warning in afl mode --- diff --git a/src/tm-threads.c b/src/tm-threads.c index 3d9b95ebb7..10a2967e1b 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -188,6 +188,8 @@ TmEcode TmThreadsSlotVarRun(ThreadVars *tv, Packet *p, return TM_ECODE_OK; } +#ifndef AFLFUZZ_PCAP_RUNMODE + /** \internal * * \brief Process flow timeout packets @@ -268,8 +270,6 @@ static int TmThreadTimeoutLoop(ThreadVars *tv, TmSlot *s) */ -#ifndef AFLFUZZ_PCAP_RUNMODE - static void *TmThreadsSlotPktAcqLoop(void *td) { ThreadVars *tv = (ThreadVars *)td;