clang-tidy: Replace C headers with C++ alternatives

run-clang-tidy -header-filter='.*' -checks='-*,modernize-deprecated-headers'

Fixed manually as automatic fix would shuffle headers around.
This commit is contained in:
Urs Fleisch
2023-07-16 07:24:01 +02:00
parent b5516c9718
commit 2a1fb27735
39 changed files with 47 additions and 49 deletions

View File

@ -105,7 +105,7 @@ if(NOT HAVE_GCC_BYTESWAP)
if(NOT HAVE_GLIBC_BYTESWAP)
check_cxx_source_compiles("
#include <stdlib.h>
#include <cstdlib>
int main() {
_byteswap_ushort(0);
_byteswap_ulong(0);