X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Falloc%2Fbitops.h;h=3feeed21fcc72a63aa0dddbb3a924726d34d920d;hp=11ec950eff9df92e7bcaed8c09d70bce417b83b0;hb=c438ec17d7b2efe76e56e5fc5ab88bd4a02735e8;hpb=7f9d956574d30f70d2260f4b7694f481e3765173 diff --git a/ccan/alloc/bitops.h b/ccan/alloc/bitops.h index 11ec950e..3feeed21 100644 --- a/ccan/alloc/bitops.h +++ b/ccan/alloc/bitops.h @@ -1,7 +1,8 @@ +/* Licensed under LGPLv2.1+ - see LICENSE file for details */ #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 */