This patch was generated using clang-tidy:
clang-tidy -checks="-*,modernize-deprecated-headers" -fix
(with some additional manual fixups)
#ifndef PULSEVIEW_ANDROID_LOGHANDLER_HPP
#define PULSEVIEW_ANDROID_LOGHANDLER_HPP
-#include <stdarg.h>
+#include <cstdarg>
namespace pv {
#ifndef PULSEVIEW_PV_STORESESSION_HPP
#define PULSEVIEW_PV_STORESESSION_HPP
-#include <stdint.h>
-
+#include <cstdint>
#include <atomic>
#include <fstream>
#include <map>
#ifndef PULSEVIEW_PV_STRNATCMP_HPP
#define PULSEVIEW_PV_STRNATCMP_HPP
-#include <stddef.h> /* size_t */
-#include <ctype.h>
+#include <cstddef> /* size_t */
+#include <cctype>
#include <string>
using std::string;
#ifndef PULSEVIEW_PV_TOOLBARS_MAINBAR_HPP
#define PULSEVIEW_PV_TOOLBARS_MAINBAR_HPP
-#include <stdint.h>
-
+#include <cstdint>
#include <list>
#include <memory>
#include <QComboBox>
#include <QWidgetAction>
-#include <stdint.h>
+#include <cstdint>
#include "signalscalehandle.hpp"
#include "trace.hpp"
#include <QRect>
#include <QString>
-#include <stdint.h>
+#include <cstdint>
#include "tracetreeitem.hpp"
#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP
#define PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP
-#include <stdint.h>
-
+#include <cstdint>
#include <list>
#include <memory>
#include <set>
#ifndef PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
#define PULSEVIEW_PV_VIEWS_TRACE_STANDARDBAR_HPP
-#include <stdint.h>
+#include <cstdint>
#include <QAction>
#include <QToolBar>
#ifndef PULSEVIEW_PV_VIEWS_VIEWBASE_HPP
#define PULSEVIEW_PV_VIEWS_VIEWBASE_HPP
-#include <stdint.h>
-
+#include <cstdint>
#include <memory>
#include <set>
#include <vector>