Hash :
82d259c2
Author :
Date :
2012-11-20T22:25:05
count-leading-zeros: better 'inline' * lib/count-leading-zeros.c: New file. * lib/count-leading-zeros.h (COUNT_LEADING_ZEROS_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/count-leading-zeros.m4 (gl_COUNT_LEADING_ZEROS): Do not require AC_C_INLINE. * modules/count-leading-zeros (Files, lib_SOURCES): Add lib/count-leading-zeros.c. (Depends-on): Add extern-inline.
Description:
Counts the number of leading 0-bits in a word.
Files:
lib/count-leading-zeros.c
lib/count-leading-zeros.h
m4/count-leading-zeros.m4
Depends-on:
extern-inline
verify
configure.ac:
gl_COUNT_LEADING_ZEROS
Makefile.am:
lib_SOURCES += count-leading-zeros.c
Include:
"count-leading-zeros.h"
License:
LGPLv2+
Maintainer:
Eric Blake