aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorLibravatar minus <minus@mnus.de>2015-08-25 19:53:59 +0200
committerLibravatar minus <minus@mnus.de>2015-08-25 19:53:59 +0200
commite533014201475648df24c1c74dbf04de65a9d16c (patch)
treed840aee50bb27ca27eea32ea6f76ddd1a4244754 /include/util.h
parentchanged workspace_{outout_,}{next,prev} to return workspace (diff)
downloadsway-e533014201475648df24c1c74dbf04de65a9d16c.tar.gz
sway-e533014201475648df24c1c74dbf04de65a9d16c.tar.zst
sway-e533014201475648df24c1c74dbf04de65a9d16c.zip
added missing util.h/c stuff
Diffstat (limited to 'include/util.h')
-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 @@
1#ifndef _SWAY_UTIL_H
2#define _SWAY_UTIL_H
3
1/** 4/**
2 * Wrap i into the range [0, max[ 5 * Wrap i into the range [0, max[
3 */ 6 */
4int wrap(int i, int max); 7int wrap(int i, int max);
8
9#endif