aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/alsa.cpp4
-rw-r--r--Alc/backends/base.cpp2
-rw-r--r--Alc/backends/jack.cpp4
-rw-r--r--Alc/backends/null.cpp2
-rw-r--r--Alc/backends/oss.cpp10
-rw-r--r--Alc/backends/portaudio.cpp6
-rw-r--r--Alc/backends/pulseaudio.cpp2
-rw-r--r--Alc/backends/wave.cpp6
8 files changed, 18 insertions, 18 deletions
diff --git a/Alc/backends/alsa.cpp b/Alc/backends/alsa.cpp
index 5fe8ef96..5472c86f 100644
--- a/Alc/backends/alsa.cpp
+++ b/Alc/backends/alsa.cpp
@@ -22,8 +22,8 @@
#include "backends/alsa.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
#include <memory.h>
#include <atomic>
diff --git a/Alc/backends/base.cpp b/Alc/backends/base.cpp
index e3753426..39aa2c45 100644
--- a/Alc/backends/base.cpp
+++ b/Alc/backends/base.cpp
@@ -1,7 +1,7 @@
#include "config.h"
-#include <stdlib.h>
+#include <cstdlib>
#include <thread>
diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp
index 78de2699..a556a190 100644
--- a/Alc/backends/jack.cpp
+++ b/Alc/backends/jack.cpp
@@ -22,8 +22,8 @@
#include "backends/jack.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
#include <memory.h>
#include <thread>
diff --git a/Alc/backends/null.cpp b/Alc/backends/null.cpp
index cba204f6..38ac0154 100644
--- a/Alc/backends/null.cpp
+++ b/Alc/backends/null.cpp
@@ -22,7 +22,7 @@
#include "backends/null.h"
-#include <stdlib.h>
+#include <cstdlib>
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp
index 05394f34..3634cce9 100644
--- a/Alc/backends/oss.cpp
+++ b/Alc/backends/oss.cpp
@@ -27,14 +27,14 @@
#include <sys/time.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstdio>
+#include <cstring>
#include <memory.h>
#include <unistd.h>
-#include <errno.h>
+#include <cerrno>
#include <poll.h>
-#include <math.h>
+#include <cmath>
#include <atomic>
#include <thread>
diff --git a/Alc/backends/portaudio.cpp b/Alc/backends/portaudio.cpp
index 074508b2..74c644f5 100644
--- a/Alc/backends/portaudio.cpp
+++ b/Alc/backends/portaudio.cpp
@@ -22,9 +22,9 @@
#include "backends/portaudio.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#include "alMain.h"
#include "alu.h"
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index b717d67a..df506304 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -23,7 +23,7 @@
#include "backends/pulseaudio.h"
-#include <string.h>
+#include <cstring>
#include <array>
#include <string>
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp
index 42b67a19..aa1aab1f 100644
--- a/Alc/backends/wave.cpp
+++ b/Alc/backends/wave.cpp
@@ -22,10 +22,10 @@
#include "backends/wave.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
#include <memory.h>
-#include <errno.h>
+#include <cerrno>
#include <chrono>
#include <thread>