git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
document shapes array
[netris.git]
/
util.h
diff --git
a/util.h
b/util.h
index fc24f77a3bfb93cf54dcf520e68eff1b0b69afa4..0f4deca1a42d32c6325fecc5ae4e8afed7b63dcd 100644
(file)
--- 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);