]> git.ozlabs.org Git - ccan/blob - ccan/alloc/bitops.h
alloc: fix memory leak in tests.
[ccan] / ccan / alloc / bitops.h
1 /* Licensed under LGPLv2.1+ - see LICENSE file for details */
2 #ifndef CCAN_ALLOC_BITOPS_H
3 #define CCAN_ALLOC_BITOPS_H
4 unsigned int afls(unsigned long val);
5 unsigned int affsl(unsigned long val);
6 unsigned int popcount(unsigned long val);
7 unsigned long align_up(unsigned long x, unsigned long align);
8 #endif /* CCAN_ALLOC_BITOPS_H */