aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings.h b/strings.h
index 2ceade8..8d4b511 100644
--- a/strings.h
+++ b/strings.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-void uint32_to_bits(uint32_t number, char *buf)
+static inline void uint32_to_bits(uint32_t number, char *buf)
{
for (int i = 0; i < 32; i++)
buf[i] = ((number >> (32 - i - 1)) & 1) ? '1' : '0';