chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: rework message handlers to always take an error argument
[elogind.git]
/
src
/
core
/
dbus-timer.c
diff --git
a/src/core/dbus-timer.c
b/src/core/dbus-timer.c
index 113c63faa0dca857b70903424df492465fc33789..9e4070a1a356a5b78ee38a23d7f41f6d0ccc70a5 100644
(file)
--- a/
src/core/dbus-timer.c
+++ b/
src/core/dbus-timer.c
@@
-33,8
+33,8
@@
static int property_get_monotonic_timers(
const char *interface,
const char *property,
sd_bus_message *reply,
const char *interface,
const char *property,
sd_bus_message *reply,
-
sd_bus_error *error
,
-
void *userdata
) {
+
void *userdata
,
+
sd_bus_error *error
) {
Timer *t = userdata;
TimerValue *v;
Timer *t = userdata;
TimerValue *v;
@@
-82,8
+82,8
@@
static int property_get_calendar_timers(
const char *interface,
const char *property,
sd_bus_message *reply,
const char *interface,
const char *property,
sd_bus_message *reply,
-
sd_bus_error *error
,
-
void *userdata
) {
+
void *userdata
,
+
sd_bus_error *error
) {
Timer *t = userdata;
TimerValue *v;
Timer *t = userdata;
TimerValue *v;
@@
-121,8
+121,8
@@
static int property_get_unit(
const char *interface,
const char *property,
sd_bus_message *reply,
const char *interface,
const char *property,
sd_bus_message *reply,
-
sd_bus_error *error
,
-
void *userdata
) {
+
void *userdata
,
+
sd_bus_error *error
) {
Unit *u = userdata, *trigger;
Unit *u = userdata, *trigger;