diff options
author | Kalle Valo <kalle.valo@canonical.com> | 2010-09-28 00:44:21 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-28 00:06:34 +0200 |
commit | 01a3b20535f4eb48ee08d37e312e4a69efec005a (patch) | |
tree | 633e086300864670be59cfec3ef3789e2512750e /gsupplicant/gsupplicant.h | |
parent | 3e8e78f2f77c22763234a85157a472ecb63ca727 (diff) | |
download | connman-01a3b20535f4eb48ee08d37e312e4a69efec005a.tar.gz connman-01a3b20535f4eb48ee08d37e312e4a69efec005a.tar.bz2 connman-01a3b20535f4eb48ee08d37e312e4a69efec005a.zip |
gsupplicant: fix return value of g_supplicant_interface_get_data()
g_supplicant_interface_get_data() was returning a const void pointer even
though the setter took a non-const pointer. Change get_data() to return
non-const as well.
Diffstat (limited to 'gsupplicant/gsupplicant.h')
-rw-r--r-- | gsupplicant/gsupplicant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index c408c6ff..c6ecf788 100644 --- a/gsupplicant/gsupplicant.h +++ b/gsupplicant/gsupplicant.h @@ -144,7 +144,7 @@ int g_supplicant_interface_disconnect(GSupplicantInterface *interface, void g_supplicant_interface_set_data(GSupplicantInterface *interface, void *data); -const void *g_supplicant_interface_get_data(GSupplicantInterface *interface); +void *g_supplicant_interface_get_data(GSupplicantInterface *interface); const char *g_supplicant_interface_get_ifname(GSupplicantInterface *interface); const char *g_supplicant_interface_get_driver(GSupplicantInterface *interface); GSupplicantState g_supplicant_interface_get_state(GSupplicantInterface *interface); |