Add task_wifi to Griffin

This commit is contained in:
twinaphex 2016-11-30 17:37:32 +01:00
parent 5cf668c302
commit 981cbf93c9
3 changed files with 4 additions and 3 deletions

View File

@ -884,6 +884,7 @@ NETPLAY
#include "../libretro-common/net/net_ifinfo.c"
#endif
#include "../tasks/task_http.c"
#include "../tasks/task_wifi.c"
#endif
/*============================================================

View File

@ -82,7 +82,7 @@ static void task_wifi_scan_handler(retro_task_t *task)
return;
}
bool task_push_wifi_scan()
bool task_push_wifi_scan(void)
{
retro_task_t *task = (retro_task_t*)calloc(1, sizeof(*task));
wifi_handle_t *state = (wifi_handle_t*)calloc(1, sizeof(*state));
@ -110,4 +110,4 @@ error:
free(task);
return false;
}
}

View File

@ -84,7 +84,7 @@ void *task_push_http_transfer(const char *url, bool mute, const char *type,
task_retriever_info_t *http_task_get_transfer_list(void);
bool task_push_wifi_scan();
bool task_push_wifi_scan(void);
#endif