From a6bbe710087af5b76bf2275d7cddfdeb3938a520 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sat, 23 Nov 2019 02:58:47 +0900 Subject: Apply 'modernize-deprecated-headers' fix-it C++ standard library provides "modern" headers for the functions from the C standard library Change-Id: I51ac83c1f072773c6a5909a2025e737be539e906 Reviewed-by: Christian Kandeler --- examples/app-and-lib/app/main.cpp | 2 +- examples/app-and-lib/lib/lib.cpp | 2 +- examples/collidingmice/main.cpp | 2 +- examples/collidingmice/mouse.cpp | 2 +- examples/helloworld-complex/src/main.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/app-and-lib/app/main.cpp b/examples/app-and-lib/app/main.cpp index 9d1eda989..17f4226f3 100644 --- a/examples/app-and-lib/app/main.cpp +++ b/examples/app-and-lib/app/main.cpp @@ -48,7 +48,7 @@ ** ****************************************************************************/ -#include +#include #include int main() diff --git a/examples/app-and-lib/lib/lib.cpp b/examples/app-and-lib/lib/lib.cpp index db312e2d2..bfa62ecf7 100644 --- a/examples/app-and-lib/lib/lib.cpp +++ b/examples/app-and-lib/lib/lib.cpp @@ -48,7 +48,7 @@ ** ****************************************************************************/ -#include +#include #ifndef CRUCIAL_DEFINE # error CRUCIAL_DEFINE not defined diff --git a/examples/collidingmice/main.cpp b/examples/collidingmice/main.cpp index 6604cc597..ffddf4c81 100644 --- a/examples/collidingmice/main.cpp +++ b/examples/collidingmice/main.cpp @@ -56,7 +56,7 @@ #include #include -#include +#include static const int MouseCount = 7; diff --git a/examples/collidingmice/mouse.cpp b/examples/collidingmice/mouse.cpp index 092054046..7075ada38 100644 --- a/examples/collidingmice/mouse.cpp +++ b/examples/collidingmice/mouse.cpp @@ -54,7 +54,7 @@ #include #include -#include +#include static const double Pi = 3.14159265358979323846264338327950288419717; static double TwoPi = 2.0 * Pi; diff --git a/examples/helloworld-complex/src/main.cpp b/examples/helloworld-complex/src/main.cpp index f3dbcc4f7..691c401e5 100644 --- a/examples/helloworld-complex/src/main.cpp +++ b/examples/helloworld-complex/src/main.cpp @@ -54,7 +54,7 @@ #include "specialfeature.h" #endif -#include +#include #ifndef HAVE_MAIN_CPP # error missing define HAVE_MAIN_CPP -- cgit v1.2.3