diff options
-rw-r--r-- | src/audiocacheeventhandler.cc | 2 | ||||
-rw-r--r-- | src/audiocacheidmanager.cc | 3 | ||||
-rw-r--r-- | src/audiooutputengine.h | 2 | ||||
-rw-r--r-- | src/directory.cc | 6 | ||||
-rw-r--r-- | src/drumgizmo.cc | 2 | ||||
-rw-r--r-- | src/drumgizmoconf.h | 2 | ||||
-rw-r--r-- | src/nolocale.h | 2 | ||||
-rw-r--r-- | src/path.cc | 4 | ||||
-rw-r--r-- | src/powerlist.cc | 6 | ||||
-rw-r--r-- | src/sem.cc | 8 | ||||
-rw-r--r-- | src/versionstr.cc | 5 |
11 files changed, 21 insertions, 21 deletions
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 <assert.h> +#include <cassert> #include <hugin.hpp> 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 <limits> -#include <assert.h> +#include <cassert> + 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 <cstddef> #include <string> -#include <audiotypes.h> +#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 <dirent.h> -#include <stdio.h> +#include <cstdio> #include <string> #include <algorithm> #include <vector> -#include <string.h> +#include <cstring> #include <unistd.h> -#include <platform.h> +#include "platform.h" #if DG_PLATFORM == DG_PLATFORM_WINDOWS #include <direct.h> 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 <cstring> #include <mutex> -#include <audiotypes.h> +#include "audiotypes.h" #include <config.h> #include <hugin.hpp> 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 <configfile.h> +#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 <locale.h> -#include <stdarg.h> +#include <cstdarg> #include <cstdlib> 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 <libgen.h> #endif/*__MINGW32__*/ -#include <string.h> -#include <stdlib.h> +#include <cstring> +#include <cstdlib> 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 <algorithm> -#include <stdlib.h> -#include <string.h> +#include <cstdlib> +#include <cstring> #include <hugin.hpp> @@ -36,7 +36,7 @@ #ifdef __STRICT_ANSI__ #undef __STRICT_ANSI__ #endif -#include <math.h> +#include <cmath> #include "random.h" #include "settings.h" @@ -28,8 +28,8 @@ #include <hugin.hpp> #include <limits> -#include <assert.h> -#include <string.h> +#include <cassert> +#include <cstring> #include <chrono> #include <thread> @@ -37,8 +37,8 @@ #if DG_PLATFORM != DG_PLATFORM_WINDOWS #include <semaphore.h> -#include <errno.h> -#include <stdio.h> +#include <cerrno> +#include <cstdio> #include <sys/time.h> #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 <memory.h> -#include <stdlib.h> -#include <stdio.h> +#include <cstdlib> +#include <cstdio> #include <hugin.hpp> |