mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
treewide: try to use const char * for string literals
This commit is contained in:
parent
fc72208fa0
commit
436787d6ba
9 changed files with 20 additions and 17 deletions
|
|
@ -2399,7 +2399,7 @@ static int register_profile(struct impl *backend, const char *profile, const cha
|
|||
DBusMessageIter it[4];
|
||||
dbus_bool_t autoconnect;
|
||||
dbus_uint16_t version, chan, features;
|
||||
char *str;
|
||||
const char *str;
|
||||
|
||||
if (!(backend->enabled_profiles & spa_bt_profile_from_uuid(uuid)))
|
||||
return -ECANCELED;
|
||||
|
|
|
|||
|
|
@ -1435,7 +1435,7 @@ static bool device_remove_device_set(struct spa_bt_device *device, const char *p
|
|||
int spa_bt_format_vendor_product_id(uint16_t source_id, uint16_t vendor_id, uint16_t product_id,
|
||||
char *vendor_str, int vendor_str_size, char *product_str, int product_str_size)
|
||||
{
|
||||
char *source_str;
|
||||
const char *source_str;
|
||||
|
||||
switch (source_id) {
|
||||
case SOURCE_ID_USB:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue