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
1 changed files with 1 additions and 2 deletions

View File

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