From de9a357de84da4436b263ff6a969eb4ac753af0d Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Tue, 22 Jan 2019 10:43:48 +0000 Subject: util.c: remove numlen function Its uses have been replaced by snprintf, which is more in line with its usage. --- include/util.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/util.h b/include/util.h index e3269d6b..1fd772c0 100644 --- a/include/util.h +++ b/include/util.h @@ -9,11 +9,6 @@ */ int wrap(int i, int max); -/** - * Count number of digits in int, including '-' sign if there is one - */ -int numlen(int n); - /** * Given a string that represents an RGB(A) color, return a uint32_t * version of the color. -- cgit v1.2.3