From 653d587410b1f975d26b0005dd165ca2ac76e72f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 31 Oct 2019 13:16:34 -0700 Subject: [PATCH] [clang-tidy] Replace deprecated C headers Deprecated with C++14. Found with modernize-deprecated-headers Signed-off-by: Rosen Penev --- src/gflags.cc | 12 ++++++------ src/gflags_completions.cc | 6 +++--- src/gflags_reporting.cc | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/gflags.cc b/src/gflags.cc index 8f5aa0b..04d0f9b 100644 --- a/src/gflags.cc +++ b/src/gflags.cc @@ -90,18 +90,18 @@ #include "config.h" #include "gflags/gflags.h" -#include -#include -#include +#include +#include +#include #if defined(HAVE_FNMATCH_H) # include #elif defined(HAVE_SHLWAPI_H) # define NO_SHLWAPI_ISOS # include #endif -#include // For va_list and related operations -#include -#include +#include // For va_list and related operations +#include +#include #include #include diff --git a/src/gflags_completions.cc b/src/gflags_completions.cc index c53a128..c0ba325 100644 --- a/src/gflags_completions.cc +++ b/src/gflags_completions.cc @@ -46,9 +46,9 @@ // 5a) Force bash to place most-relevent groups at the top of the list // 5b) Trim most flag's descriptions to fit on a single terminal line -#include -#include -#include // for strlen +#include +#include +#include // for strlen #include #include diff --git a/src/gflags_reporting.cc b/src/gflags_reporting.cc index 29be922..6664d64 100644 --- a/src/gflags_reporting.cc +++ b/src/gflags_reporting.cc @@ -48,10 +48,10 @@ // called after all flag-values have been assigned, that is, after // parsing the command-line. -#include -#include -#include -#include +#include +#include +#include +#include #include #include