From 356440b3805b29baf4ffb7126028f257de4717ff Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 26 Dec 2017 20:14:24 +0100 Subject: [PATCH] tm-threads: fix build warning in afl mode --- src/tm-threads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;