diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-14 17:07:31 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-14 17:07:52 +0100 |
commit | 45b959f601d103c9c308807b55f62f1859556b59 (patch) | |
tree | 3bf415ea88a41ed666a80850b909775d4af6831f /include/util.h | |
parent | Merge pull request #313 from mikkeloscar/bar-confing-subcommands (diff) | |
download | sway-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.h | 5 |
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 | */ |
7 | int wrap(int i, int max); | 7 | int wrap(int i, int max); |
8 | 8 | ||
9 | /** | ||
10 | * Count number of digits in int | ||
11 | */ | ||
12 | int numlen(int n); | ||
13 | |||
9 | #endif | 14 | #endif |