diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-15 22:28:57 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-15 22:28:57 +0000 |
commit | 4f872f7e928b083e14f247ace4eea4175d6ad78a (patch) | |
tree | 781d0975f70f1b129e7023f726f3380505bdcac3 /hcid/storage.c | |
parent | a82aa1c6502cf4aa1dae32befabf05625bad5b68 (diff) |
Make some bdaddr_t parameters const
Diffstat (limited to 'hcid/storage.c')
-rw-r--r-- | hcid/storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/storage.c b/hcid/storage.c index 7c053cd5..4dbf8a94 100644 --- a/hcid/storage.c +++ b/hcid/storage.c @@ -45,7 +45,7 @@ #include "textfile.h" #include "hcid.h" -static inline int create_filename(char *buf, size_t size, bdaddr_t *bdaddr, const char *name) +static inline int create_filename(char *buf, size_t size, const bdaddr_t *bdaddr, const char *name) { char addr[18]; @@ -623,7 +623,7 @@ int write_trust(bdaddr_t *local, const char *addr, const char *service, return ret; } -gboolean read_trust(bdaddr_t *local, const char *addr, const char *service) +gboolean read_trust(const bdaddr_t *local, const char *addr, const char *service) { char filename[PATH_MAX + 1], *str; GSList *services; |