]> git.ozlabs.org Git - ccan/blobdiff - ccan/antithread/alloc/bitops.h
alloc: move into antithread/alloc.
[ccan] / ccan / antithread / alloc / bitops.h
diff --git a/ccan/antithread/alloc/bitops.h b/ccan/antithread/alloc/bitops.h
new file mode 100644 (file)
index 0000000..3feeed2
--- /dev/null
@@ -0,0 +1,8 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
+#ifndef CCAN_ALLOC_BITOPS_H
+#define CCAN_ALLOC_BITOPS_H
+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 */