diff options
author | Mikael Kanstrup <mikael.kanstrup@sonymobile.com> | 2015-04-24 07:19:53 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-04-25 14:33:06 (GMT) |
commit | 8b423edbd3bb7b5b90cf3d82103d44bedab63e5c (patch) | |
tree | 12eb22ee298692ca04144fa97818aa1f8e93c0ab /wpa_supplicant/preauth_test.c | |
parent | fd4fb28179a0b750dff4d38a72a7bf89a2c49813 (diff) | |
download | hostap-8b423edbd3bb7b5b90cf3d82103d44bedab63e5c.zip hostap-8b423edbd3bb7b5b90cf3d82103d44bedab63e5c.tar.gz hostap-8b423edbd3bb7b5b90cf3d82103d44bedab63e5c.tar.bz2 |
Declare all read only data structures as const
By analysing objdump output some read only structures were found in
.data section. To help compiler further optimize code declare these
as const.
Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
Diffstat (limited to 'wpa_supplicant/preauth_test.c')
-rw-r--r-- | wpa_supplicant/preauth_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/preauth_test.c b/wpa_supplicant/preauth_test.c index ed57085..f4bba98 100644 --- a/wpa_supplicant/preauth_test.c +++ b/wpa_supplicant/preauth_test.c @@ -27,7 +27,7 @@ #include "drivers/driver.h" -struct wpa_driver_ops *wpa_drivers[] = { NULL }; +const struct wpa_driver_ops *const wpa_drivers[] = { NULL }; struct preauth_test_data { |