Commit 47d1506e authored by Michael Graff's avatar Michael Graff
Browse files

add ISC_MIN() and ISC_MAX()

parent 60804eec
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
*** General Macros. *** General Macros.
***/ ***/
#define ISC_MAX(a, b) ((a) > (b) ? (a) : (b))
#define ISC_MIN(a, b) ((a) < (b) ? (a) : (b))
/* /*
* We use macros instead of calling the routines directly because * We use macros instead of calling the routines directly because
* the capital letters make the locking stand out. * the capital letters make the locking stand out.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment