projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9508e2a
)
Fix function declaration
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 15 Oct 2008 19:43:30 +0000
(21:43 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 15 Oct 2008 19:43:30 +0000
(21:43 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
6b73438
..
0e2cf59
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-72,7
+72,7
@@
static int device_probe(struct connman_element *element)
return -ENODEV;
}
-static
int
device_remove(struct connman_element *element)
+static
void
device_remove(struct connman_element *element)
{
struct connman_device *device = connman_element_get_data(element);
@@
-84,8
+84,6
@@
static int device_remove(struct connman_element *element)
connman_element_set_data(element, NULL);
g_free(device);
-
- return 0;
}
static struct connman_driver device_driver = {