mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 09:19:51 +00:00
19 lines
404 B
Diff
19 lines
404 B
Diff
--- a/pqueue.c
|
|
+++ b/pqueue.c
|
|
@@ -7,13 +7,11 @@
|
|
#include "pqueue.h"
|
|
|
|
#ifdef DEBUG_PQUEUE
|
|
-#define DEBUG_ON 1
|
|
+#define DEBUG_CMD(_a) { _a }
|
|
#else
|
|
-#define DEBUG_ON 0
|
|
+#define DEBUG_CMD(_a)
|
|
#endif
|
|
|
|
-#define DEBUG_CMD(_a) if (DEBUG_ON) { _a }
|
|
-
|
|
#define MIN_CAPACITY 128 /* min allocated buffer for a packet */
|
|
|
|
static int pqueue_alloc (int seq, unsigned char *packet, int packlen, pqueue_t **new);
|