From 40499cd8e636c4afa7a564ea2c807e3febb62ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Dieb=20Martins?= Date: Mon, 31 Jan 2011 16:09:32 -0300 Subject: [PATCH] hcidump: Add missing const to utility functions --- tools/parser/hci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/parser/hci.c b/tools/parser/hci.c index 8b45376e1..183fa6633 100644 --- a/tools/parser/hci.c +++ b/tools/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"; -- 2.47.3