batman-adv: Prefix bitarray static inline functions with batadv_
[deliverable/linux.git] / net / batman-adv / bitarray.h
index 8ab542632343d094cfd3cf515e6b04225fd9d231..7954ba81cece833a7d9748a6b506527fe77936e7 100644 (file)
@@ -23,8 +23,8 @@
 /* returns true if the corresponding bit in the given seq_bits indicates true
  * and curr_seqno is within range of last_seqno
  */
-static inline int bat_test_bit(const unsigned long *seq_bits,
-                              uint32_t last_seqno, uint32_t curr_seqno)
+static inline int batadv_test_bit(const unsigned long *seq_bits,
+                                 uint32_t last_seqno, uint32_t curr_seqno)
 {
        int32_t diff;
 
@@ -36,7 +36,7 @@ static inline int bat_test_bit(const unsigned long *seq_bits,
 }
 
 /* turn corresponding bit on, so we can remember that we got the packet */
-static inline void bat_set_bit(unsigned long *seq_bits, int32_t n)
+static inline void batadv_set_bit(unsigned long *seq_bits, int32_t n)
 {
        /* if too old, just drop it */
        if (n < 0 || n >= TQ_LOCAL_WINDOW_SIZE)
This page took 0.027411 seconds and 5 git commands to generate.