From 45b959f601d103c9c308807b55f62f1859556b59 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Mon, 14 Dec 2015 17:07:31 +0100 Subject: Move numlen(1) to sway/util.c --- include/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.3-54-g00ecf