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 80c552f..f084a73 100644
--- a/common.h
+++ b/common.h
@@ -1,6 +1,8 @@
#ifndef __COMMON_H__
#define __COMMON_H__
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+
int toggle_nonblocking_input();
#endif // __COMMON_H__