diff options
author | kcat <[email protected]> | 2019-01-09 17:16:28 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2019-01-09 17:16:28 -0800 |
commit | 30184613a53c9eb013fee10403aa9cd97d4ea5e1 (patch) | |
tree | a3dd40b59196464c12c9d8d585100c5226ffb3b2 /Alc/helpers.cpp | |
parent | 8f35f464a1b3ae1b8772a4645941a1fb2fec006e (diff) | |
parent | f7fe15e1cec05a4c9e6a6a207bdb34397086cffc (diff) |
Merge pull request #264 from ShFil119/impr/cleanup
Cleanup continuation
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r-- | Alc/helpers.cpp | 14 |
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__) |