]> git.ipfire.org Git - thirdparty/git.git/blobdiff - ewah/ewok_rlw.h
path.c: clarify trie_find()'s in-code comment
[thirdparty/git.git] / ewah / ewok_rlw.h
index 7cdfdd0c020e37abbc30624b2ea1bcf4ef0ddfee..bafa24f4c3a03318611b1b8ce591a440108de707 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __EWOK_RLW_H__
 #define __EWOK_RLW_H__
 
+#include "ewok.h"
+
 #define RLW_RUNNING_BITS (sizeof(eword_t) * 4)
 #define RLW_LITERAL_BITS (sizeof(eword_t) * 8 - 1 - RLW_RUNNING_BITS)
 
@@ -29,7 +31,7 @@
 
 #define RLW_RUNNING_LEN_PLUS_BIT (((eword_t)1 << (RLW_RUNNING_BITS + 1)) - 1)
 
-static int rlw_get_run_bit(const eword_t *word)
+static inline int rlw_get_run_bit(const eword_t *word)
 {
        return *word & (eword_t)1;
 }