aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-08-05 10:12:52 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2009-08-05 10:12:52 +0300
commit31e380bc0c6baea07d204e781f63ec388fdc3e20 (patch)
tree6126c29b2a28c96cf9e0b61c7de6986839b14457 /src/storage.h
parenta73b597d5653f4e7cc57f931a1faa58f9ed1f7ed (diff)
downloadbluez-31e380bc0c6baea07d204e781f63ec388fdc3e20.tar.gz
bluez-31e380bc0c6baea07d204e781f63ec388fdc3e20.tar.xz
bluez-31e380bc0c6baea07d204e781f63ec388fdc3e20.zip
Fix write_local_name name parameter type to be const
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.h b/src/storage.h
index 6288da21..3159f2a8 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -30,7 +30,7 @@ int read_pairable_timeout(const char *src, int *timeout);
int write_device_mode(bdaddr_t *bdaddr, const char *mode);
int read_device_mode(const char *src, char *mode, int length);
int read_on_mode(const char *src, char *mode, int length);
-int write_local_name(bdaddr_t *bdaddr, char *name);
+int write_local_name(bdaddr_t *bdaddr, const char *name);
int read_local_name(bdaddr_t *bdaddr, char *name);
int write_local_class(bdaddr_t *bdaddr, uint8_t *class);
int read_local_class(bdaddr_t *bdaddr, uint8_t *class);