summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-11-24 11:33:20 +0100
committerAnton Khirnov <anton@khirnov.net>2020-11-24 14:51:13 +0100
commitf59d5d1b62b1c2b2f505acc535c798e7c47974df (patch)
tree4712dc4ccd48c6fbc3b2406aa48c29e3bf359171 /src/common.h
parent395a2534aca4a704da7501c5e79268420e41d174 (diff)
Add support for restricting search/output to specific fields.fields
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
new file mode 100644
index 0000000..7395adb
--- /dev/null
+++ b/src/common.h
@@ -0,0 +1,2 @@
+#define MIN(x, y) ((x) <= (y) ? (x) : (y))
+#define MAX(x, y) ((x) >= (y) ? (x) : (y))