[clang-tidy] Replace deprecated C headers

Found with modernize-deprecated-headers

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-11-07 13:10:32 -08:00 committed by Victor Zverovich
parent 6868f888b2
commit 1f918159ed
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
#include "format.h"
#include <string.h>
#include <cstring>
#include <cctype>
#include <cerrno>

View File

@ -13,11 +13,11 @@
# undef __STRICT_ANSI__
#endif
#include <errno.h>
#include <cerrno>
#include <fcntl.h> // for O_RDONLY
#include <locale.h> // for locale_t
#include <stdio.h>
#include <stdlib.h> // for strtod_l
#include <clocale> // for locale_t
#include <cstdio>
#include <cstdlib> // for strtod_l
#include <cstddef>