alloc: dont clash with libc's fls, avoid void pointer arithmetic
[ccan] / ccan / alloc / bitops.h
index 11ec950eff9df92e7bcaed8c09d70bce417b83b0..c6509c3182a5509b72f0cb6544c019e33b2a9bce 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef CCAN_ALLOC_BITOPS_H
 #define CCAN_ALLOC_BITOPS_H
-unsigned int fls(unsigned long val);
-unsigned int ffsl(unsigned long val);
+unsigned int afls(unsigned long val);
+unsigned int affsl(unsigned long val);
 unsigned int popcount(unsigned long val);
 unsigned long align_up(unsigned long x, unsigned long align);
 #endif /* CCAN_ALLOC_BITOPS_H */