diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-15 00:11:32 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-15 00:11:32 +0200 |
commit | 10332e9f97359824502f8cce0d9ed3510e290159 (patch) | |
tree | ade51a6b5c131b764723cdfd3982cc86bc1524b6 /tools | |
parent | 7bb660b5c5e5e3513ac0374bae3b82a26c109f49 (diff) |
Use const char for string constants
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hciconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", |