include/system/strings.h
raw| 1 | // SPDX-License-Identifier: BSD-2-Clause-Patent |
| 2 | #ifdef SHIM_UNIT_TEST |
| 3 | #include_next <strings.h> |
| 4 | #else |
| 5 | #ifndef _STRINGS_H |
| 6 | #define _STRINGS_H |
| 7 | |
| 8 | #include <builtins_begin_.h> |
| 9 | mkbi1_(int, ffs, int, x) |
| 10 | mkbi1_(int, clz, int, x) |
| 11 | mkbi1_(int, ctz, int, x) |
| 12 | mkbi1_(int, clrsb, int, x) |
| 13 | mkbi1_(int, popcount, int, x) |
| 14 | mkbi1_(int, parity, int, x) |
| 15 | #include <builtins_end_.h> |
| 16 | |
| 17 | #endif /* !_STRINGS_H */ |
| 18 | #endif |
| 19 | // vim:fenc=utf-8:tw=75:noet |