aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 17:07:31 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 17:07:52 +0100
commit45b959f601d103c9c308807b55f62f1859556b59 (patch)
tree3bf415ea88a41ed666a80850b909775d4af6831f /include/util.h
parentMerge pull request #313 from mikkeloscar/bar-confing-subcommands (diff)
downloadsway-45b959f601d103c9c308807b55f62f1859556b59.tar.gz
sway-45b959f601d103c9c308807b55f62f1859556b59.tar.zst
sway-45b959f601d103c9c308807b55f62f1859556b59.zip
Move numlen(1) to sway/util.c
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 8e65e6d6..9cb861dd 100644
--- a/include/util.h
+++ b/include/util.h
@@ -6,4 +6,9 @@
6 */ 6 */
7int wrap(int i, int max); 7int wrap(int i, int max);
8 8
9/**
10 * Count number of digits in int
11 */
12int numlen(int n);
13
9#endif 14#endif