diff options
Diffstat (limited to 'src/lib/clog2.c')
-rw-r--r-- | src/lib/clog2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/clog2.c b/src/lib/clog2.c index b9b173177c..f7c6e59284 100644 --- a/src/lib/clog2.c +++ b/src/lib/clog2.c @@ -7,6 +7,8 @@ /* Assume 8 bits per byte */ #define CHAR_BIT 8 +unsigned long log2(unsigned long x); + unsigned long log2(unsigned long x) { // assume 8 bits per byte. |