From a416715372bb51bcdc1d05426afbf5e909b5984a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 23 Jan 2016 16:35:32 -0500 Subject: Revert "s/numlen/log10/g" This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370. --- include/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/util.h b/include/util.h index 7f4b3ace..dc47e343 100644 --- a/include/util.h +++ b/include/util.h @@ -10,6 +10,11 @@ */ int wrap(int i, int max); +/** + * Count number of digits in int + */ +int numlen(int n); + /** * Get modifier mask from modifier name. * -- cgit v1.2.3-54-g00ecf