From 702e6907265035af031004f21ce09e3f62037fb4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 26 Mar 2024 11:57:39 +0100 Subject: Fix all header file linter warnings --- src/audiocacheeventhandler.cc | 2 +- src/audiocacheidmanager.cc | 3 ++- src/audiooutputengine.h | 2 +- src/directory.cc | 6 +++--- src/drumgizmo.cc | 2 +- src/drumgizmoconf.h | 2 +- src/nolocale.h | 2 +- src/path.cc | 4 ++-- src/powerlist.cc | 6 +++--- src/sem.cc | 8 ++++---- src/versionstr.cc | 5 ++--- 11 files changed, 21 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/audiocacheeventhandler.cc b/src/audiocacheeventhandler.cc index e5c1bdc..e1b9868 100644 --- a/src/audiocacheeventhandler.cc +++ b/src/audiocacheeventhandler.cc @@ -26,7 +26,7 @@ */ #include "audiocacheeventhandler.h" -#include +#include #include diff --git a/src/audiocacheidmanager.cc b/src/audiocacheidmanager.cc index efef17e..91a1457 100644 --- a/src/audiocacheidmanager.cc +++ b/src/audiocacheidmanager.cc @@ -27,7 +27,8 @@ #include "audiocacheidmanager.h" #include -#include +#include + AudioCacheIDManager::~AudioCacheIDManager() { diff --git a/src/audiooutputengine.h b/src/audiooutputengine.h index f69fd75..a69c56d 100644 --- a/src/audiooutputengine.h +++ b/src/audiooutputengine.h @@ -29,7 +29,7 @@ #include #include -#include +#include "audiotypes.h" #include "channel.h" diff --git a/src/directory.cc b/src/directory.cc index 596b045..27637a9 100644 --- a/src/directory.cc +++ b/src/directory.cc @@ -27,14 +27,14 @@ #include "directory.h" #include -#include +#include #include #include #include -#include +#include #include -#include +#include "platform.h" #if DG_PLATFORM == DG_PLATFORM_WINDOWS #include diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index b67e91a..bd729ab 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -32,7 +32,7 @@ #include #include -#include +#include "audiotypes.h" #include #include diff --git a/src/drumgizmoconf.h b/src/drumgizmoconf.h index f031730..ee14ec6 100644 --- a/src/drumgizmoconf.h +++ b/src/drumgizmoconf.h @@ -26,7 +26,7 @@ */ #pragma once -#include +#include "configfile.h" class DrumgizmoConfig : public ConfigFile diff --git a/src/nolocale.h b/src/nolocale.h index 430c38c..7a10a9c 100644 --- a/src/nolocale.h +++ b/src/nolocale.h @@ -27,7 +27,7 @@ #pragma once #include -#include +#include #include static inline double atof_nol(const char* nptr) diff --git a/src/path.cc b/src/path.cc index 993f9a6..eaa1e04 100644 --- a/src/path.cc +++ b/src/path.cc @@ -30,8 +30,8 @@ #include #endif/*__MINGW32__*/ -#include -#include +#include +#include std::string getPath(const std::string& file) { diff --git a/src/powerlist.cc b/src/powerlist.cc index 8dd0b24..f852ac9 100644 --- a/src/powerlist.cc +++ b/src/powerlist.cc @@ -27,8 +27,8 @@ #include "powerlist.h" #include -#include -#include +#include +#include #include @@ -36,7 +36,7 @@ #ifdef __STRICT_ANSI__ #undef __STRICT_ANSI__ #endif -#include +#include #include "random.h" #include "settings.h" diff --git a/src/sem.cc b/src/sem.cc index ad5266d..13cfca4 100644 --- a/src/sem.cc +++ b/src/sem.cc @@ -28,8 +28,8 @@ #include #include -#include -#include +#include +#include #include #include @@ -37,8 +37,8 @@ #if DG_PLATFORM != DG_PLATFORM_WINDOWS #include -#include -#include +#include +#include #include #endif diff --git a/src/versionstr.cc b/src/versionstr.cc index 8c6c66f..ac16e41 100644 --- a/src/versionstr.cc +++ b/src/versionstr.cc @@ -26,9 +26,8 @@ */ #include "versionstr.h" -#include -#include -#include +#include +#include #include -- cgit v1.2.3