From eabebbf66fe7f2ea324fafd8bb25b385c458c1cb Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Tue, 19 Sep 2017 13:08:18 +0200 Subject: PeakCAN: Indent nested includes and defines Change-Id: I881c9449b9b3594676413cb12ed966522e13f0dc Reviewed-by: Denis Shienkov Reviewed-by: Alex Blasche --- src/plugins/canbus/peakcan/peakcan_symbols_p.h | 6 +++--- src/plugins/canbus/peakcan/peakcanbackend.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/canbus/peakcan/peakcan_symbols_p.h b/src/plugins/canbus/peakcan/peakcan_symbols_p.h index 7c91750..ab17129 100644 --- a/src/plugins/canbus/peakcan/peakcan_symbols_p.h +++ b/src/plugins/canbus/peakcan/peakcan_symbols_p.h @@ -63,10 +63,10 @@ extern "C" #include #ifdef Q_OS_WIN32 -#include -#define DRV_CALLBACK_TYPE WINAPI +# include +# define DRV_CALLBACK_TYPE WINAPI #else -#define DRV_CALLBACK_TYPE +# define DRV_CALLBACK_TYPE #endif // Currently defined and supported PCAN channels diff --git a/src/plugins/canbus/peakcan/peakcanbackend.cpp b/src/plugins/canbus/peakcan/peakcanbackend.cpp index b6eb30e..376cd2f 100644 --- a/src/plugins/canbus/peakcan/peakcanbackend.cpp +++ b/src/plugins/canbus/peakcan/peakcanbackend.cpp @@ -47,9 +47,9 @@ #include #ifdef Q_OS_WIN32 -#include +# include #else -#include +# include #endif QT_BEGIN_NAMESPACE -- cgit v1.2.3