diff options
author | Eric Blake <eblake@redhat.com> | 2011-07-11 17:05:34 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-07-11 17:18:25 -0600 |
commit | a918da4d61d28be61a12605c9d35e2cf3966d866 (patch) | |
tree | 551dbebe9645bf51d4de6c7828bcebffca92ae4e /MODULES.html.sh | |
parent | 00a829e20e9bdb52d1b68357669ea248ed6661f1 (diff) | |
download | gnulib-a918da4d61d28be61a12605c9d35e2cf3966d866.tar.gz |
ffs: new module
Libvirt wants to use ffs() to avoid dragging in -lm for log2().
* modules/ffs: New file.
* m4/ffs.m4: Likewise.
* lib/ffs.c: Likewise.
* m4/strings_h.m4 (gl_HEADER_STRINGS_H_DEFAULTS): Add default.
* modules/strings (Makefile.am): Substitute witness.
(Depends-on): Add c++defs.
* lib/strings.in.h (ffs): Declare.
* modules/ffs-tests: New test file.
* tests/test-ffs.c: Test new module.
* MODULES.html.sh (Integer arithmetic functions): Mention it.
* doc/posix-functions/ffs.texi (ffs): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'MODULES.html.sh')
-rwxr-xr-x | MODULES.html.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MODULES.html.sh b/MODULES.html.sh index f46cc56a26..923fba52f9 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1736,6 +1736,7 @@ func_all_modules () func_begin_table func_module count-one-bits + func_module ffs func_module gcd func_module minmax func_end_table |