chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: get rid of various unnecessary casts
[elogind.git]
/
src
/
unit.h
diff --git
a/src/unit.h
b/src/unit.h
index 3397d472cbf8b6cf873983b5fc1a741acc77a1ff..c5be858923ceaa3f90b84da19ddfdb2ee5ff6d60 100644
(file)
--- a/
src/unit.h
+++ b/
src/unit.h
@@
-296,7
+296,7
@@
struct UnitVTable {
void (*bus_query_pid_done)(Unit *u, const char *name, pid_t pid);
/* Called for each message received on the bus */
void (*bus_query_pid_done)(Unit *u, const char *name, pid_t pid);
/* Called for each message received on the bus */
- DBusHandlerResult (*bus_message_handler)(Unit *u, DBusMessage *message);
+ DBusHandlerResult (*bus_message_handler)(Unit *u, DBus
Connection *c, DBus
Message *message);
/* This is called for each unit type and should be used to
* enumerate existing devices and load them. However,
/* This is called for each unit type and should be used to
* enumerate existing devices and load them. However,