Skip to content

Conflicting types of 'pause #9

@Handika997

Description

@Handika997

profiles/audio/media.c:1241:13: error: conflicting types for ‘pause’; have ‘_Bool(void *)’
1241 | static bool pause(void *user_data)
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /usr/include/glib-2.0/glib/gbacktrace.h:36,
from /usr/include/glib-2.0/glib.h:34,
from profiles/audio/media.c:33:
/usr/include/unistd.h:489:12: note: previous declaration of ‘pause’ with type ‘int(void)’
489 | extern int pause (void);
| ^~~~~
make[1]: *** [Makefile:7215: profiles/audio/bluetoothd-media.o] Error 1
make: *** [Makefile:3121: all] Error 2

^this happens when compiling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions