aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Dieb Martins <andre.dieb@signove.com>2011-01-31 16:09:32 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2011-02-01 11:11:23 +0200
commit18a8555accbbad5dc57f99303dc7718b69b3921c (patch)
treec767a1ca5e8e2154cb34fffefd7c0a22fd1744cd
parent0766d9adeddb57249388421cf1138e3aace45265 (diff)
downloadbluez-hcidump-18a8555accbbad5dc57f99303dc7718b69b3921c.tar.gz
bluez-hcidump-18a8555accbbad5dc57f99303dc7718b69b3921c.tar.xz
bluez-hcidump-18a8555accbbad5dc57f99303dc7718b69b3921c.zip
Add missing const to utility functions
-rw-r--r--parser/hci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/hci.c b/parser/hci.c
index 8b45376..183fa66 100644
--- a/parser/hci.c
+++ b/parser/hci.c
@@ -704,7 +704,7 @@ static char *authentication2str(uint8_t authentication)
}
}
-static char *eventmask2str(uint8_t mask[8])
+static char *eventmask2str(const uint8_t mask[8])
{
int i;
@@ -733,7 +733,7 @@ static char *eventmask2str(uint8_t mask[8])
}
}
-static char *lefeatures2str(uint8_t features[8])
+static char *lefeatures2str(const uint8_t features[8])
{
if (features[0] & 0x01)
return "Link Layer supports LE Encryption";