aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-07-21 10:46:00 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-21 10:56:19 (GMT)
commit63e169e149fce48827ba8482e6ea32b4bc8edc8b (patch)
tree0f042911170a2ed652cd1f4a0b0b40175b2e7cc4 /hostapd/config_file.h
parent4be0dd2232e03ce61667a3cbe62069667d6d64a7 (diff)
downloadhostap-63e169e149fce48827ba8482e6ea32b4bc8edc8b.zip
hostap-63e169e149fce48827ba8482e6ea32b4bc8edc8b.tar.gz
hostap-63e169e149fce48827ba8482e6ea32b4bc8edc8b.tar.bz2
hostapd: Mark config parameter name const
The functions parsing configuration parameters do not modify the name of the parameter, so mark that function argument constant. In theory, the value should also be const, but at least for now, number of the parser functions end up modifying this to simplify parsing. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/config_file.h')
-rw-r--r--hostapd/config_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/config_file.h b/hostapd/config_file.h
index fba57b8..c98bdb6 100644
--- a/hostapd/config_file.h
+++ b/hostapd/config_file.h
@@ -11,7 +11,7 @@
struct hostapd_config * hostapd_config_read(const char *fname);
int hostapd_set_iface(struct hostapd_config *conf,
- struct hostapd_bss_config *bss, char *field,
+ struct hostapd_bss_config *bss, const char *field,
char *value);
#endif /* CONFIG_FILE_H */