From 10332e9f97359824502f8cce0d9ed3510e290159 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 15 Aug 2008 00:11:32 +0200 Subject: Use const char for string constants --- tools/hciconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/hciconfig.c') diff --git a/tools/hciconfig.c b/tools/hciconfig.c index a01937b9..2055b2bb 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -645,7 +645,7 @@ static char *get_minor_device_name(int major, int minor) static void cmd_class(int ctl, int hdev, char *opt) { - static char *services[] = { "Positioning", + static const char *services[] = { "Positioning", "Networking", "Rendering", "Capturing", @@ -653,7 +653,7 @@ static void cmd_class(int ctl, int hdev, char *opt) "Audio", "Telephony", "Information" }; - static char *major_devices[] = { "Miscellaneous", + static const char *major_devices[] = { "Miscellaneous", "Computer", "Phone", "LAN Access", -- cgit