luetzel / bluez

Fork of Bluez with patches to support PS3 Gasia/ Shanwan game controllers
http://luetzels.raspiblog.com
GNU General Public License v2.0
27 stars 9 forks source link

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

Open opvexe opened 1 year ago

opvexe commented 1 year ago
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