From d54974c4cce2366f0bf1f2299323e25d028b84bf Mon Sep 17 00:00:00 2001 From: Egor Seredin Date: Wed, 15 May 2019 12:02:00 +0700 Subject: [PATCH] Use C++ headers --- include/fmt/format-inl.h | 2 +- include/fmt/posix.h | 8 ++++---- src/posix.cc | 2 +- test/format-test.cc | 2 +- test/posix-mock-test.cc | 2 +- test/posix-mock.h | 4 ++-- test/prepare-test.cc | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 29667beb..702daed8 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -10,7 +10,7 @@ #include "format.h" -#include +#include #include #include diff --git a/include/fmt/posix.h b/include/fmt/posix.h index b919e25f..f27c7d9b 100644 --- a/include/fmt/posix.h +++ b/include/fmt/posix.h @@ -13,11 +13,11 @@ # undef __STRICT_ANSI__ #endif -#include +#include #include // for O_RDONLY -#include // for locale_t -#include -#include // for strtod_l +#include // for locale_t +#include +#include // for strtod_l #include diff --git a/src/posix.cc b/src/posix.cc index fd6eb169..5b8c0177 100644 --- a/src/posix.cc +++ b/src/posix.cc @@ -12,7 +12,7 @@ #include "fmt/posix.h" -#include +#include #include #include diff --git a/test/format-test.cc b/test/format-test.cc index c6043586..a8543548 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -5,7 +5,7 @@ // // For the license information refer to format.h. -#include +#include #include #include #include diff --git a/test/posix-mock-test.cc b/test/posix-mock-test.cc index fc62627f..3b6615d6 100644 --- a/test/posix-mock-test.cc +++ b/test/posix-mock-test.cc @@ -13,7 +13,7 @@ #include "posix-mock.h" #include "../src/posix.cc" -#include +#include #include #include #include diff --git a/test/posix-mock.h b/test/posix-mock.h index 028aeee6..3869fb24 100644 --- a/test/posix-mock.h +++ b/test/posix-mock.h @@ -8,8 +8,8 @@ #ifndef FMT_POSIX_TEST_H #define FMT_POSIX_TEST_H -#include -#include +#include +#include #ifdef _WIN32 # include diff --git a/test/prepare-test.cc b/test/prepare-test.cc index e40b6b45..48140f7d 100644 --- a/test/prepare-test.cc +++ b/test/prepare-test.cc @@ -5,7 +5,7 @@ // // For the license information refer to prepare.h. -#include +#include #include #include #include