mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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>
This commit is contained in:
parent
0efc38e95f
commit
bea3fa7d21
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue