summaryrefslogtreecommitdiff
path: root/src/agent.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-11-11 14:17:20 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-11-11 14:17:20 +0200
commitcc35f24a2a728c4e8c31ea0c6c11c6b701901861 (patch)
tree00fd747d89cdd26e5ea5cd5f74b6053d3e228aad /src/agent.h
parenta0a8c6f1969d91714a0799e88c2cfb54fd29aee7 (diff)
downloadbluez-cc35f24a2a728c4e8c31ea0c6c11c6b701901861.tar.gz
Remove the unnecessary agent_destroy function
Diffstat (limited to 'src/agent.h')
-rw-r--r--src/agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agent.h b/src/agent.h
index 314baf995..2a2651d54 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -39,7 +39,7 @@ struct agent *agent_create(struct btd_adapter *adapter, const char *name,
const char *path, uint8_t capability,
agent_remove_cb cb, void *remove_cb_data);
-int agent_destroy(struct agent *agent, gboolean exited);
+void agent_free(struct agent *agent);
int agent_authorize(struct agent *agent, const char *path,
const char *uuid, agent_cb cb, void *user_data,