Skip to content

profiles/audio/media.c:1284:13: error: conflicting types for ‘pause’; have ‘_Bool(void *)’ #11

@opvexe

Description

@opvexe
root@lm-OptiPlex-3000:/home/lm/Downloads/bluez-5.60# sudo make
make --no-print-directory all-am
  CC       profiles/audio/bluetoothd-media.o
profiles/audio/media.c:1284:13: error: conflicting types for ‘pause’; have ‘_Bool(void *)’
 1284 | 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:38,
                 from /usr/include/glib-2.0/glib.h:36,
                 from profiles/audio/media.c:21:
/usr/include/unistd.h:489:12: note: previous declaration of ‘pause’ with type ‘int(void)’
  489 | extern int pause (void);
      |            ^~~~~
make[1]: *** [Makefile:8562: profiles/audio/bluetoothd-media.o] Error 1
make: *** [Makefile:4137: all] Error 2

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