However, I am pretty sure that I did not catch all
places where 256 can be replaced by it.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>

Index: oisf/src/suricata.h
===================================================================
--- oisf.orig/src/suricata.h
+++ oisf/src/suricata.h
@@ -115,12 +115,14 @@ enum {
 #define IS_ENGINE_MODE_IPS(engine_mode)  ((engine_mode) == ENGINE_MODE_IPS)
 #define IS_ENGINE_MODE_IDS(engine_mode)  ((engine_mode) == ENGINE_MODE_IDS)
 
+#define NUM_QUEUES				256
+
 /* queue's between various other threads
  * XXX move to the TmQueue structure later
  */
-PacketQueue trans_q[256];
+PacketQueue trans_q[NUM_QUEUES];
 
-SCDQDataQueue data_queues[256];
+SCDQDataQueue data_queues[NUM_QUEUES];
 /* memset to zeros, and mutex init! */
 void GlobalInits();
 


