diff options
author | Filip Gawin <[email protected]> | 2019-01-09 19:43:54 +0100 |
---|---|---|
committer | Filip Gawin <[email protected]> | 2019-01-09 19:43:54 +0100 |
commit | 6ddb2c36fc19f0bdcd46ff56536525325d4d3bc5 (patch) | |
tree | 6a3a30275aa10a898e064d89648e4971cd81f1a7 /Alc/backends | |
parent | 4169c6f37db4fa1cc8e2d052b377af479763a930 (diff) |
Remove redundant void argument list in function def
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/alsa.cpp | 2 | ||||
-rw-r--r-- | Alc/backends/jack.cpp | 2 | ||||
-rw-r--r-- | Alc/backends/portaudio.cpp | 2 | ||||
-rw-r--r-- | Alc/backends/pulseaudio.cpp | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Alc/backends/alsa.cpp b/Alc/backends/alsa.cpp index 5472c86f..ef5d6f7c 100644 --- a/Alc/backends/alsa.cpp +++ b/Alc/backends/alsa.cpp @@ -204,7 +204,7 @@ ALSA_FUNCS(MAKE_FUNC); #endif -bool alsa_load(void) +bool alsa_load() { bool error{false}; diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp index a556a190..c079bb19 100644 --- a/Alc/backends/jack.cpp +++ b/Alc/backends/jack.cpp @@ -100,7 +100,7 @@ decltype(jack_error_callback) * pjack_error_callback; jack_options_t ClientOptions = JackNullOption; -ALCboolean jack_load(void) +ALCboolean jack_load() { ALCboolean error = ALC_FALSE; diff --git a/Alc/backends/portaudio.cpp b/Alc/backends/portaudio.cpp index 74c644f5..f6cf7c05 100644 --- a/Alc/backends/portaudio.cpp +++ b/Alc/backends/portaudio.cpp @@ -69,7 +69,7 @@ MAKE_FUNC(Pa_GetStreamInfo); #endif #endif -bool pa_load(void) +bool pa_load() { PaError err; diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp index df506304..bf952813 100644 --- a/Alc/backends/pulseaudio.cpp +++ b/Alc/backends/pulseaudio.cpp @@ -186,7 +186,7 @@ MAKE_FUNC(pa_stream_begin_write); #endif -ALCboolean pulse_load(void) +ALCboolean pulse_load() { ALCboolean ret{ALC_TRUE}; #ifdef HAVE_DYNLOAD @@ -599,7 +599,7 @@ void device_sink_callback(pa_context *UNUSED(context), const pa_sink_info *info, TRACE("Got device \"%s\", \"%s\"\n", newentry.name.c_str(), newentry.device_name.c_str()); } -void probePlaybackDevices(void) +void probePlaybackDevices() { PlaybackDevices.clear(); @@ -681,7 +681,7 @@ void device_source_callback(pa_context *UNUSED(context), const pa_source_info *i TRACE("Got device \"%s\", \"%s\"\n", newentry.name.c_str(), newentry.device_name.c_str()); } -void probeCaptureDevices(void) +void probeCaptureDevices() { CaptureDevices.clear(); |