Mercurial > hg > octave-nkf > gnulib-hg
annotate lib/count-one-bits.c @ 17167:7178d4d98ee5
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 20 Nov 2012 22:25:05 -0800 |
parents | |
children | d78ea0b1af11 |
rev | line source |
---|---|
17167
7178d4d98ee5
count-one-bits: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
1 #include <config.h> |
7178d4d98ee5
count-one-bits: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
2 #define COUNT_ONE_BITS_INLINE _GL_EXTERN_INLINE |
7178d4d98ee5
count-one-bits: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
3 #include "count-one-bits.h" |