summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-01-23 16:35:32 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-01-23 16:35:32 -0500
commita416715372bb51bcdc1d05426afbf5e909b5984a (patch)
tree3b5239943a68a0b74194aba4baa642236e54dc9e /include
parents/numlen/log10/g (diff)
downloadsway-a416715372bb51bcdc1d05426afbf5e909b5984a.tar.gz
sway-a416715372bb51bcdc1d05426afbf5e909b5984a.tar.zst
sway-a416715372bb51bcdc1d05426afbf5e909b5984a.zip
Revert "s/numlen/log10/g"
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 7f4b3ace..dc47e343 100644
--- a/include/util.h
+++ b/include/util.h
@@ -11,6 +11,11 @@
11int wrap(int i, int max); 11int wrap(int i, int max);
12 12
13/** 13/**
14 * Count number of digits in int
15 */
16int numlen(int n);
17
18/**
14 * Get modifier mask from modifier name. 19 * Get modifier mask from modifier name.
15 * 20 *
16 * Returns the modifer mask or 0 if the name isn't found. 21 * Returns the modifer mask or 0 if the name isn't found.