aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-08-25 19:53:59 +0200
committerFurkan Sahin <furkan-dev@proton.me>2015-08-25 19:53:59 +0200
commitcf56d90e81808bdc3ee11b89c2c3f4f16a18beaf (patch)
treed840aee50bb27ca27eea32ea6f76ddd1a4244754 /include
parent6d873b31647c26421c2b2cc194a2797c7073af9f (diff)
added missing util.h/c stuff
Diffstat (limited to 'include')
-rw-r--r--include/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index 5d42b780..8e65e6d6 100644
--- a/include/util.h
+++ b/include/util.h
@@ -1,4 +1,9 @@
+#ifndef _SWAY_UTIL_H
+#define _SWAY_UTIL_H
+
/**
* Wrap i into the range [0, max[
*/
int wrap(int i, int max);
+
+#endif