threading: fix queue handlers globals use

pull/4537/head
Victor Julien 7 years ago
parent 3ae1854d2f
commit 5c3c6c609c

@ -34,6 +34,8 @@
#include "tmqh-packetpool.h"
#include "tmqh-flow.h"
Tmqh tmqh_table[TMQH_SIZE];
void TmqhSetup (void)
{
memset(&tmqh_table, 0, sizeof(tmqh_table));

@ -43,7 +43,7 @@ typedef struct Tmqh_ {
void (*RegisterTests)(void);
} Tmqh;
Tmqh tmqh_table[TMQH_SIZE];
extern Tmqh tmqh_table[TMQH_SIZE];
void TmqhSetup (void);
void TmqhCleanup(void);

Loading…
Cancel
Save