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

@ -35,9 +35,9 @@
#include <sys/fcntl.h>
#include <sys/stat.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <fstream>