From: Jouni Malinen Date: Tue, 7 Jul 2015 09:07:06 +0000 (+0300) Subject: D-Bus: Fix dont_quote const declaration X-Git-Tag: hostap_2_5~472 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e8c13da7a636d0432be75d89a37745a16684d5;p=thirdparty%2Fhostap.git D-Bus: Fix dont_quote const declaration Commit 38279bdb35c1b0c248289752197ebddd2fdd52ef ('D-Bus: Coding style cleanup') handled the dbus_new_handlers.c change properly, but misplaced the second 'const' in dbus_old_handlers.c in a way that resulted in duplicated const rather than marking the actual value const. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/dbus/dbus_old_handlers.c b/wpa_supplicant/dbus/dbus_old_handlers.c index 462c713c8..4a4b45697 100644 --- a/wpa_supplicant/dbus/dbus_old_handlers.c +++ b/wpa_supplicant/dbus/dbus_old_handlers.c @@ -809,7 +809,7 @@ out: } -static const char const *dont_quote[] = { +static const char * const dont_quote[] = { "key_mgmt", "proto", "pairwise", "auth_alg", "group", "eap", "opensc_engine_path", "pkcs11_engine_path", "pkcs11_module_path", "bssid", NULL