aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-01-23 16:35:32 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-01-23 16:35:32 -0500
commitf56de48a735549fd5f160ab10abbc7fc876564a6 (patch)
tree3b5239943a68a0b74194aba4baa642236e54dc9e /include/util.h
parent4d8a071134db4ced1870c2d3177fb8a95e249567 (diff)
Revert "s/numlen/log10/g"
This reverts commit 4d8a071134db4ced1870c2d3177fb8a95e249567.
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 7f4b3ace..dc47e343 100644
--- a/include/util.h
+++ b/include/util.h
@@ -11,6 +11,11 @@
int wrap(int i, int max);
/**
+ * Count number of digits in int
+ */
+int numlen(int n);
+
+/**
* Get modifier mask from modifier name.
*
* Returns the modifer mask or 0 if the name isn't found.