projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup: Add and use macro MIN().
[cparser]
/
adt
/
util.h
diff --git
a/adt/util.h
b/adt/util.h
index
403a14f
..
05c40f1
100644
(file)
--- a/
adt/util.h
+++ b/
adt/util.h
@@
-39,6
+39,8
@@
#define endof(x) ((x) + lengthof(x))
#undef MAX
+#undef MIN
#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif