diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-17 19:40:31 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-18 12:27:01 +0000 |
| commit | 7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4 (patch) | |
| tree | ab4f11dc730c386ce76fcbb9e219b233504955e7 /src/util | |
| parent | Run clang-tidy’s modernize-use-equals-default pass. (diff) | |
| download | inkscape-7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4.tar.gz inkscape-7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4.zip | |
Run clang-tidy’s modernize-deprecated-headers pass.
This renames most C <*.h> includes into C++ <c*> includes.
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/expression-evaluator.cpp | 4 | ||||
| -rw-r--r-- | src/util/fixed_point.h | 2 | ||||
| -rw-r--r-- | src/util/format.h | 2 | ||||
| -rw-r--r-- | src/util/ziptool.cpp | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/util/expression-evaluator.cpp b/src/util/expression-evaluator.cpp index 47c54a995..2c719100c 100644 --- a/src/util/expression-evaluator.cpp +++ b/src/util/expression-evaluator.cpp @@ -30,8 +30,8 @@ #include <glib/gconvert.h> -#include <math.h> -#include <string.h> +#include <cmath> +#include <cstring> using Inkscape::Util::unit_table; diff --git a/src/util/fixed_point.h b/src/util/fixed_point.h index 02d536ecc..f2bf0318d 100644 --- a/src/util/fixed_point.h +++ b/src/util/fixed_point.h @@ -13,7 +13,7 @@ #define SEEN_INKSCAPE_UTIL_FIXED_POINT_H #include "util/reference.h" -#include <math.h> +#include <cmath> #include <algorithm> #include <limits> diff --git a/src/util/format.h b/src/util/format.h index d2fe2d0ef..61e004857 100644 --- a/src/util/format.h +++ b/src/util/format.h @@ -12,7 +12,7 @@ #ifndef SEEN_INKSCAPE_UTIL_FORMAT_H #define SEEN_INKSCAPE_UTIL_FORMAT_H -#include <stdarg.h> +#include <cstdarg> #include <glib.h> #include "util/share.h" diff --git a/src/util/ziptool.cpp b/src/util/ziptool.cpp index 2146710dd..fe64bad6f 100644 --- a/src/util/ziptool.cpp +++ b/src/util/ziptool.cpp @@ -31,9 +31,9 @@ */ -#include <stdio.h> -#include <stdarg.h> -#include <time.h> +#include <cstdio> +#include <cstdarg> +#include <ctime> #include <string> |
