summaryrefslogtreecommitdiffstats
path: root/proxy/src
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src')
-rw-r--r--proxy/src/gp_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/gp_common.h b/proxy/src/gp_common.h
index 981eb75..0de698c 100644
--- a/proxy/src/gp_common.h
+++ b/proxy/src/gp_common.h
@@ -29,6 +29,8 @@
#include "gp_debug.h"
#include "gp_log.h"
+#define no_const(ptr) ((void *)((uintptr_t)(ptr)))
+
/* add element to list head */
#define LIST_ADD(list, elem) do { \
elem->prev = NULL; \