1 // Copyright (C) 2017 The Android Open Source Project
2 // SPDX-License-Identifier: BSD-2-Clause
3
4 #include <strings.h>
5
6 #include "header_checks.h"
7
strings_h()8 static void strings_h() {
9 FUNCTION(ffs, int (*f)(int));
10 #if !defined(__GLIBC__)
11 FUNCTION(ffsl, int (*f)(long));
12 FUNCTION(ffsll, int (*f)(long long));
13 #endif
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 }
22