3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-28 07:39:23 +01:00

agent: Use a generic pointer for the callback

Since this function is generic, no need to use a specific callback type.
This commit is contained in:
Denis Kenzior 2015-03-02 21:07:49 -06:00
parent 59b4a6d7ba
commit 926cc6cd17

View File

@ -214,8 +214,7 @@ static void agent_send_next_request(struct agent *agent)
static unsigned int agent_queue_request(struct agent *agent, static unsigned int agent_queue_request(struct agent *agent,
struct l_dbus_message *message, int timeout, struct l_dbus_message *message, int timeout,
agent_request_passphrase_func_t callback, void *callback, void *user_data)
void *user_data)
{ {
struct agent_request *request; struct agent_request *request;