aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'service/src/util.h')
-rw-r--r--service/src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/src/util.h b/service/src/util.h
index 2e2196f..303d9c9 100644
--- a/service/src/util.h
+++ b/service/src/util.h
@@ -8,6 +8,8 @@
#define ARRSIZE(x) (sizeof(x)/sizeof((x)[0]))
#define MIN(x,y) ((x) > (y) ? (y) : (x))
+#define MAX(x,y) ((x) < (y) ? (y) : (x))
+
#define NULLFREE(p) do { free(p); p = NULL; } while (0)
#define MHASHLEN 32