summaryrefslogtreecommitdiffstats
path: root/src/io
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-17 19:40:31 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-18 12:27:01 +0000
commit7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4 (patch)
treeab4f11dc730c386ce76fcbb9e219b233504955e7 /src/io
parentRun clang-tidy’s modernize-use-equals-default pass. (diff)
downloadinkscape-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/io')
-rw-r--r--src/io/http.cpp2
-rw-r--r--src/io/sys.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/io/http.cpp b/src/io/http.cpp
index c081ca7bc..c12cf079a 100644
--- a/src/io/http.cpp
+++ b/src/io/http.cpp
@@ -35,7 +35,7 @@
#include <glib/gstdio.h>
#include <libsoup/soup.h>
#include <string>
-#include <time.h>
+#include <ctime>
#include "io/sys.h"
#include "io/http.h"
diff --git a/src/io/sys.h b/src/io/sys.h
index e349fc09c..39ba399f5 100644
--- a/src/io/sys.h
+++ b/src/io/sys.h
@@ -12,7 +12,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stdio.h>
+#include <cstdio>
#include <sys/stat.h>
#include <sys/types.h>
#include <glib.h>