diff options
author | Tharre <tharre3@gmail.com> | 2014-08-13 18:42:22 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2014-08-13 18:42:22 +0200 |
commit | baba3ed3d508a3ced57ffe19d23586b0008d85fa (patch) | |
tree | d1f1cb90126be861624aa5ef13384906e2fbc8ee /src/redo.c | |
parent | 40135fffdbc3389058699460c8e128fa8740cbe2 (diff) | |
download | redo-baba3ed3d508a3ced57ffe19d23586b0008d85fa.tar.gz redo-baba3ed3d508a3ced57ffe19d23586b0008d85fa.tar.xz redo-baba3ed3d508a3ced57ffe19d23586b0008d85fa.zip |
Add documentation and fix the one that's already there
Diffstat (limited to 'src/redo.c')
-rw-r--r-- | src/redo.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |