aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 17:07:31 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 17:07:52 +0100
commit45b959f601d103c9c308807b55f62f1859556b59 (patch)
tree3bf415ea88a41ed666a80850b909775d4af6831f /include
parent0b2cf8b65c0ebefa355e575134965cbbc540a9bb (diff)
Move numlen(1) to sway/util.c
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 8e65e6d6..9cb861dd 100644
--- a/include/util.h
+++ b/include/util.h
@@ -6,4 +6,9 @@
*/
int wrap(int i, int max);
+/**
+ * Count number of digits in int
+ */
+int numlen(int n);
+
#endif