mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
count-one-bits: better 'inline'
* lib/count-one-bits.c: New file. * lib/count-one-bits.h (COUNT_ONE_BITS_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/count-one-bits.m4 (gl_COUNT_ONE_BITS): Do not require AC_C_INLINE. * modules/count-one-bits (Files, lib_SOURCES): Add lib/count-one-bits.c. (Depends-on): Add extern-inline.
This commit is contained in:
@@ -2,16 +2,19 @@ Description:
|
||||
Counts the number of 1-bits in a word.
|
||||
|
||||
Files:
|
||||
lib/count-one-bits.c
|
||||
lib/count-one-bits.h
|
||||
m4/count-one-bits.m4
|
||||
|
||||
Depends-on:
|
||||
extern-inline
|
||||
verify
|
||||
|
||||
configure.ac:
|
||||
gl_COUNT_ONE_BITS
|
||||
|
||||
Makefile.am:
|
||||
lib_SOURCES += count-one-bits.c
|
||||
|
||||
Include:
|
||||
"count-one-bits.h"
|
||||
|
Reference in New Issue
Block a user