aboutsummaryrefslogtreecommitdiffstats
path: root/sway/util.c
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 /sway/util.c
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 'sway/util.c')
-rw-r--r--sway/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/util.c b/sway/util.c
index 25aeb9f4..9a59ddf9 100644
--- a/sway/util.c
+++ b/sway/util.c
@@ -1,3 +1,5 @@
1#include "util.h"
2
1int wrap(int i, int max) { 3int wrap(int i, int max) {
2 return ((i % max) + max) % max; 4 return ((i % max) + max) % max;
3} 5}