diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/storage.c | 2 | ||||
-rw-r--r-- | src/storage.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/storage.c b/src/storage.c index 3db17545..96db6f55 100644 --- a/src/storage.c +++ b/src/storage.c @@ -379,7 +379,7 @@ int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class) } int write_device_name(bdaddr_t *local, bdaddr_t *peer, uint8_t peer_type, - char *name) + const char *name) { char filename[PATH_MAX + 1], key[20], str[HCI_MAX_NAME_LENGTH + 1]; int i; diff --git a/src/storage.h b/src/storage.h index 6e2766da..6a8df83d 100644 --- a/src/storage.h +++ b/src/storage.h @@ -45,7 +45,7 @@ int read_remote_appearance(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_type, int write_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class); int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class); int write_device_name(bdaddr_t *local, bdaddr_t *peer, uint8_t peer_type, - char *name); + const char *name); int read_device_name(const char *src, const char *dst, uint8_t dst_type, char *name); int write_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t peer_type, |