aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redo.c')
-rw-r--r--src/redo.c1
1 files changed, 1 insertions, 0 deletions
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;
}