aboutsummaryrefslogtreecommitdiffstats
path: root/dbg.h
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-07-16 01:12:06 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-07-18 02:52:03 +0200
commit10d13c7b37f8e470bde3bd6dea0857c81ffefd63 (patch)
treea09179d52bddae5163499ef88b8a9fe528ae3e0c /dbg.h
parentradix-trie: inline find_node() into ipp_addpool() (diff)
downloadwg-dynamic-10d13c7b37f8e470bde3bd6dea0857c81ffefd63.tar.xz
wg-dynamic-10d13c7b37f8e470bde3bd6dea0857c81ffefd63.zip
Implement lease expiration
Diffstat (limited to 'dbg.h')
-rw-r--r--dbg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbg.h b/dbg.h
index 2d32033..3432fd3 100644
--- a/dbg.h
+++ b/dbg.h
@@ -66,4 +66,6 @@ extern int DBG_LVL;
/* A neat macro that silences unused parameter warnings compiler independant */
#define UNUSED(x) (void)(x)
+#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
+
#endif