aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index eced70e..e879e92 100644
--- a/common.h
+++ b/common.h
@@ -44,5 +44,7 @@ enum {
void shutdownError ();
+#define sign(x) ((x < 0) ? -1 : 1)
+
#endif /* COMMON_H */