From f56de48a735549fd5f160ab10abbc7fc876564a6 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sat, 23 Jan 2016 16:35:32 -0500 Subject: Revert "s/numlen/log10/g" This reverts commit 4d8a071134db4ced1870c2d3177fb8a95e249567. --- include/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/util.h') 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