diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-12-14 17:07:31 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-12-14 17:07:31 +0100 |
| commit | c58192f2667151a0d3abbd60a2f7f0aa9e9bcfd7 (patch) | |
| tree | 3bf415ea88a41ed666a80850b909775d4af6831f /include | |
| parent | 6d8f3fccc70e85c2916f6d4415e36921c6a07c78 (diff) | |
Move numlen(1) to sway/util.c
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 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 |
