X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Futil.h;h=58b7fdf14530325c4cc04f03961dadfb5ee48ee3;hb=1d5bbb55f28eb2e9eff0543753b8cb85f3b94282;hp=66bccbfa580b8c68005c3a03c78786722acd03cc;hpb=62d1ebb91c7b381ce3d88aad9ee0b03bea9fce26;p=max%2Ftmk_keyboard.git
diff --git a/common/util.h b/common/util.h
index 66bccbfa..58b7fdf1 100644
--- a/common/util.h
+++ b/common/util.h
@@ -16,7 +16,7 @@ along with this program. If not, see .
*/
#ifndef UTIL_H
-#define UTIL_H 1
+#define UTIL_H
#include
@@ -28,7 +28,9 @@ along with this program. If not, see .
#define XSTR(s) #s
-int bitpop(uint8_t bits);
-int biton(uint8_t bits);
+uint8_t bitpop(uint8_t bits);
+uint8_t bitpop16(uint16_t bits);
+uint8_t biton(uint8_t bits);
+uint8_t biton16(uint16_t bits);
#endif