Elliott Hughes | 13da600 | 2025-02-03 10:42:13 -0800 | [diff] [blame] | 1 | // Copyright (C) 2017 The Android Open Source Project |
| 2 | // SPDX-License-Identifier: BSD-2-Clause |
Elliott Hughes | 21b56eb | 2017-10-20 17:57:17 -0700 | [diff] [blame] | 3 | |
| 4 | #include <strings.h> |
| 5 | |
| 6 | #include "header_checks.h" |
| 7 | |
| 8 | static void strings_h() { |
| 9 | FUNCTION(ffs, int (*f)(int)); |
Elliott Hughes | 4a6899c | 2020-03-25 10:34:46 -0700 | [diff] [blame] | 10 | #if !defined(__GLIBC__) |
| 11 | FUNCTION(ffsl, int (*f)(long)); |
| 12 | FUNCTION(ffsll, int (*f)(long long)); |
| 13 | #endif |
Elliott Hughes | 21b56eb | 2017-10-20 17:57:17 -0700 | [diff] [blame] | 14 | FUNCTION(strcasecmp, int (*f)(const char*, const char*)); |
| 15 | FUNCTION(strcasecmp_l, int (*f)(const char*, const char*, locale_t)); |
| 16 | FUNCTION(strncasecmp, int (*f)(const char*, const char*, size_t)); |
| 17 | FUNCTION(strncasecmp_l, int (*f)(const char*, const char*, size_t, locale_t)); |
| 18 | |
| 19 | TYPE(locale_t); |
| 20 | TYPE(size_t); |
| 21 | } |