diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-01-23 16:35:32 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-01-23 16:35:32 -0500 |
commit | a416715372bb51bcdc1d05426afbf5e909b5984a (patch) | |
tree | 3b5239943a68a0b74194aba4baa642236e54dc9e /include | |
parent | 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370 (diff) | |
download | sway-a416715372bb51bcdc1d05426afbf5e909b5984a.tar.xz |
Revert "s/numlen/log10/g"
This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
Diffstat (limited to 'include')
-rw-r--r-- | include/util.h | 5 |
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. |