summaryrefslogtreecommitdiff
path: root/android/hal-utils.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2013-11-08 16:08:50 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-08 16:21:41 +0200
commit69a33fbf2aad706be5cd227da01a68ba56c23203 (patch)
treef742d5adf2fbc9b343e7245379e1f882e6835f77 /android/hal-utils.c
parentbec0539ba9f708db5c7e0dbcc3c35f703c532a9e (diff)
downloadbluez-69a33fbf2aad706be5cd227da01a68ba56c23203.tar.gz
android/hal-utils: Make hal-utils functions return const string
Diffstat (limited to 'android/hal-utils.c')
-rw-r--r--android/hal-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/hal-utils.c b/android/hal-utils.c
index 96dc23469..7ac5047b3 100644
--- a/android/hal-utils.c
+++ b/android/hal-utils.c
@@ -27,7 +27,7 @@
*
* returns string representation of uuid
*/
-char *bt_uuid_t2str(const uint8_t *uuid, char *buf)
+const char *bt_uuid_t2str(const uint8_t *uuid, char *buf)
{
int shift = 0;
unsigned int i;
@@ -49,7 +49,7 @@ char *bt_uuid_t2str(const uint8_t *uuid, char *buf)
return buf;
}
-char *btuuid2str(const uint8_t *uuid)
+const char *btuuid2str(const uint8_t *uuid)
{
static char buf[MAX_UUID_STR_LEN];