POSIX: add ffsl and ffsll from musl sources.
appeared in issue 8: https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffs.html Change-Id: Ic382498c3e2d6138aedbeb88578882457ee875ee Reviewed-on: https://review.haiku-os.org/c/haiku/+/9836 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
11d8ab2a71
commit
b739532218
@@ -14,7 +14,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static __inline__ int ffs(int i) { return __builtin_ffs(i); }
|
||||
extern int ffs(int i);
|
||||
extern int ffsl(long i);
|
||||
extern int ffsll(long long i);
|
||||
|
||||
extern int strcasecmp(const char *string1, const char *string2);
|
||||
extern int strncasecmp(const char *string1, const char *string2,
|
||||
|
||||
Reference in New Issue
Block a user