diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-01 10:37:32 -0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-01 10:37:32 -0800 |
commit | 087612fdc0806072166a1a68f0f244fe67f644d5 (patch) | |
tree | 6a0a6d7cb8844686aece351138bbdda3b67740f0 | |
parent | 0c25b4760bed4a16d6e1126cae01d326c99edcac (diff) | |
download | wpa_supplicant_6-087612fdc0806072166a1a68f0f244fe67f644d5.tar.gz |
Remove compilation warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | wpa_supplicant/src/common/wpa_ctrl.c | 4 | ||||
-rw-r--r-- | wpa_supplicant/src/common/wpa_ctrl.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/wpa_supplicant/src/common/wpa_ctrl.c b/wpa_supplicant/src/common/wpa_ctrl.c index 37c6ad0..e3c3d21 100644 --- a/wpa_supplicant/src/common/wpa_ctrl.c +++ b/wpa_supplicant/src/common/wpa_ctrl.c @@ -184,7 +184,7 @@ void wpa_ctrl_close(struct wpa_ctrl *ctrl) * event of crashes that prevented them from being removed as part * of the normal orderly shutdown. */ -void wpa_ctrl_cleanup() +void wpa_ctrl_cleanup(void) { DIR *dir; struct dirent entry; @@ -218,7 +218,7 @@ void wpa_ctrl_cleanup() #else /* CONFIG_CTRL_IFACE_UNIX */ #ifdef ANDROID -void wpa_ctrl_cleanup() +void wpa_ctrl_cleanup(void) { } #endif /* ANDROID */ diff --git a/wpa_supplicant/src/common/wpa_ctrl.h b/wpa_supplicant/src/common/wpa_ctrl.h index c2662b6..f3304f0 100644 --- a/wpa_supplicant/src/common/wpa_ctrl.h +++ b/wpa_supplicant/src/common/wpa_ctrl.h @@ -214,7 +214,7 @@ int wpa_ctrl_get_fd(struct wpa_ctrl *ctrl); * event of crashes that prevented them from being removed as part * of the normal orderly shutdown. */ -void wpa_ctrl_cleanup(); +void wpa_ctrl_cleanup(void); #endif /* ANDROID */ #ifdef CONFIG_CTRL_IFACE_UDP |