diff options
| author | minus <minus@mnus.de> | 2015-08-25 19:53:59 +0200 |
|---|---|---|
| committer | minus <minus@mnus.de> | 2015-08-25 19:53:59 +0200 |
| commit | e533014201475648df24c1c74dbf04de65a9d16c (patch) | |
| tree | d840aee50bb27ca27eea32ea6f76ddd1a4244754 /sway | |
| parent | e854a54e9631c405b26c08cf0f5d085a1b5949e6 (diff) | |
| download | sway-e533014201475648df24c1c74dbf04de65a9d16c.tar.xz | |
added missing util.h/c stuff
Diffstat (limited to 'sway')
| -rw-r--r-- | sway/util.c | 2 |
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 @@ +#include "util.h" + int wrap(int i, int max) { return ((i % max) + max) % max; } |
