X-Git-Url: http://git.shiar.nl/netris.git/blobdiff_plain/0e779d807aa1830dde2f4a75117fd16f5627dc76..f13c7563395e0d91691c5c8a15c9a2b7b5b7717a:/util.h diff --git a/util.h b/util.h index fc24f77..0f4deca 100644 --- a/util.h +++ b/util.h @@ -1,6 +1,9 @@ #ifndef __UTIL_H #define __UTIL_H +#define MIN(a, b) ((a) < (b) ? (a) : (b)) +#define MAX(a, b) ((a) > (b) ? (a) : (b)) + extern void AtExit(void (*handler)(void)); extern void Header(void); extern void Usage(void);