Use correct type for user data
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Jan 2009 21:14:56 +0000 (22:14 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Jan 2009 21:14:56 +0000 (22:14 +0100)
src/connman.h

index 78fc430..e410ac1 100644 (file)
@@ -90,7 +90,8 @@ void __connman_element_start(void);
 void __connman_element_stop(void);
 void __connman_element_cleanup(void);
 
-typedef void (* element_cb_t) (struct connman_element *element, void *user_data);
+typedef void (* element_cb_t) (struct connman_element *element,
+                                                       gpointer user_data);
 
 void __connman_element_foreach(struct connman_element *element,
                                enum connman_element_type type,