]> code.delx.au - pulseaudio/commit
bluetooth: Name BlueZ 4 symbols accordingly
authorJoão Paulo Rechi Vita <jprvita@openbossa.org>
Tue, 13 Aug 2013 04:53:54 +0000 (01:53 -0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 29 Sep 2013 13:54:36 +0000 (16:54 +0300)
commit0f84fef04d8e6610cd7eb9f3c7430153b65414dc
tree50845667adaaf018580311147a4f3bd07977b438
parent438094baa41ce21fa9425882a15df476b5ab776c
bluetooth: Name BlueZ 4 symbols accordingly

We need diferent symbol prefixing for the current BlueZ 4 support and
the new BlueZ 5 support which is about to enter the codebase, to avoid
symbol clashing and crashing the daemon in the case both modules are
loaded at the same time.

This commit replaces all pa_bluetooth_ and pa_bt_ (for consistency)
prefixes with pa_bluez4_, for both lower-case and upper-case, what was
done with the following sed commands:

 $ sed -i s/pa_bluetooth_/pa_bluez4_/g src/modules/bluetooth/*bluez4*
 $ sed -i s/PA_BLUETOOTH_/PA_BLUEZ4_/g src/modules/bluetooth/*bluez4*
 $ sed -i s/pa_bt_/pa_bluez4_/g src/modules/bluetooth/*bluez4*
 $ sed -i s/PA_BT_/PA_BLUEZ4_/g src/modules/bluetooth/*bluez4*
src/modules/bluetooth/bluez4-util.c
src/modules/bluetooth/bluez4-util.h
src/modules/bluetooth/module-bluez4-device.c
src/modules/bluetooth/module-bluez4-discover.c