Disconnect service on removal if still connected
[connman] / src / agent.c
index 2d0f365..5ae62b2 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007-2008  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2009  Intel Corporation. All rights reserved.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
@@ -47,7 +47,7 @@ static void agent_free(void)
        agent_path = NULL;
 }
 
-static void agent_disconnect(void *data)
+static void agent_disconnect(DBusConnection *connection, void *data)
 {
        DBG("data %p", data);