OSDN Git Service

Implement ffsl and ffsll.
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 22 Feb 2011 23:14:42 +0000 (00:14 +0100)
committerBernd Schmidt <bernds@codesourcery.com>
Sat, 5 Mar 2011 18:48:10 +0000 (19:48 +0100)
commit2a19c1339d6bf46fe0f90fbd4e8dca6646d111ed
treea9e8cc3663e4904042c39b14eef15f30d652c923
parent9b1507df250e90b74099e0d05170d7d95060b016
Implement ffsl and ffsll.

This imports and adapts ffsll.c from glibc. The same mechanism as in glibc
is used to choose between ffs and ffsll to implement ffsl. The single user
in libc is changed to use the hidden version __libc_ffs.

Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
Acked-by: Bernhard Reutner-Fischer <aldot@uclibc.org>
include/string.h
libc/inet/rpc/svc.c
libc/string/ffs.c
libc/string/ffsll.c [new file with mode: 0644]