PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
bea3fa7d by Evan Miller at 2021-07-14T15:07:46+00:00
Fix a strict-prototypes warning

Some older compilers complain about the empty arg list in
pa_memfd_is_locally_supported.

Part-of: 
<https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/603>

- - - - -


1 changed file:

- src/pulsecore/mem.h


Changes:

=====================================
src/pulsecore/mem.h
=====================================
@@ -49,7 +49,7 @@ static inline bool pa_mem_type_is_shared(pa_mem_type_t t) {
     return (t == PA_MEM_TYPE_SHARED_POSIX) || (t == PA_MEM_TYPE_SHARED_MEMFD);
 }
 
-static inline bool pa_memfd_is_locally_supported() {
+static inline bool pa_memfd_is_locally_supported(void) {
 #if defined(HAVE_CREDS) && defined(HAVE_MEMFD)
     return true;
 #else



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/bea3fa7d21fdf7d90b73270e836bfffb41cc6fdc

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/bea3fa7d21fdf7d90b73270e836bfffb41cc6fdc
You're receiving this email because of your account on gitlab.freedesktop.org.


_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to