diff options
author | Ian Fan <ianfan0@gmail.com> | 2019-01-22 10:43:48 +0000 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-22 13:10:25 +0100 |
commit | de9a357de84da4436b263ff6a969eb4ac753af0d (patch) | |
tree | 6a2f05fe18a6152335c832a20e1f7c543badcf48 /include/util.h | |
parent | Remove assumption that noop output will be called NOOP-1 (diff) | |
download | sway-de9a357de84da4436b263ff6a969eb4ac753af0d.tar.gz sway-de9a357de84da4436b263ff6a969eb4ac753af0d.tar.zst sway-de9a357de84da4436b263ff6a969eb4ac753af0d.zip |
util.c: remove numlen function
Its uses have been replaced by snprintf, which is more in line with its usage.
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/util.h b/include/util.h index e3269d6b..1fd772c0 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -10,11 +10,6 @@ | |||
10 | int wrap(int i, int max); | 10 | int wrap(int i, int max); |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * Count number of digits in int, including '-' sign if there is one | ||
14 | */ | ||
15 | int numlen(int n); | ||
16 | |||
17 | /** | ||
18 | * Given a string that represents an RGB(A) color, return a uint32_t | 13 | * Given a string that represents an RGB(A) color, return a uint32_t |
19 | * version of the color. | 14 | * version of the color. |
20 | */ | 15 | */ |