summaryrefslogtreecommitdiffstats
path: root/src/debug
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/debug
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/debug')
-rw-r--r--src/debug/demangle.cpp4
-rw-r--r--src/debug/simple-event.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/demangle.cpp b/src/debug/demangle.cpp
index 04fe80d9b..a5f868a76 100644
--- a/src/debug/demangle.cpp
+++ b/src/debug/demangle.cpp
@@ -9,8 +9,8 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stdio.h>
-#include <string.h>
+#include <cstdio>
+#include <cstring>
#include <map>
#include "debug/demangle.h"
#include "util/format.h"
diff --git a/src/debug/simple-event.h b/src/debug/simple-event.h
index 7f7f7614d..7870ca0d1 100644
--- a/src/debug/simple-event.h
+++ b/src/debug/simple-event.h
@@ -12,7 +12,7 @@
#ifndef SEEN_INKSCAPE_DEBUG_SIMPLE_EVENT_H
#define SEEN_INKSCAPE_DEBUG_SIMPLE_EVENT_H
-#include <stdarg.h>
+#include <cstdarg>
#include <vector>
#include <glib.h> // g_assert()