From baba3ed3d508a3ced57ffe19d23586b0008d85fa Mon Sep 17 00:00:00 2001 From: Tharre Date: Wed, 13 Aug 2014 18:42:22 +0200 Subject: Add documentation and fix the one that's already there --- src/redo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/redo.c') diff --git a/src/redo.c b/src/redo.c index b70cad7..40946dc 100644 --- a/src/redo.c +++ b/src/redo.c @@ -13,6 +13,7 @@ #include "dbg.h" +/* Returns the amount of digits a number n has in decimal. */ static inline int digits(unsigned n) { return (int) log10(n) + 1; } -- cgit v1.2.3-70-g09d2