aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r--Alc/helpers.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Alc/helpers.cpp b/Alc/helpers.cpp
index 88c222bf..13ba3a2a 100644
--- a/Alc/helpers.cpp
+++ b/Alc/helpers.cpp
@@ -28,11 +28,11 @@
#include "config.h"
-#include <stdlib.h>
-#include <time.h>
-#include <errno.h>
-#include <stdarg.h>
-#include <ctype.h>
+#include <cstdlib>
+#include <ctime>
+#include <cerrno>
+#include <cstdarg>
+#include <cctype>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
@@ -93,7 +93,7 @@ DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x
#include <sys/sysconf.h>
#endif
#ifdef HAVE_FLOAT_H
-#include <float.h>
+#include <cfloat>
#endif
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
@@ -713,7 +713,7 @@ al::vector<std::string> SearchDataFiles(const char *ext, const char *subdir)
return results;
}
-void SetRTPriority(void)
+void SetRTPriority()
{
bool failed = false;
#if defined(HAVE_PTHREAD_SETSCHEDPARAM) && !defined(__OpenBSD__)