diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-02-13 15:34:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-13 15:49:51 +0100 |
commit | 07a0d22f9ec5a0cac2385b73dc08b12a811cead8 (patch) | |
tree | b4b71cb5af735f41f021ad1bc9722698e2d222d7 /src/libsystemd/sd-bus | |
parent | 61adca52f6f0b119e501c523008a454887cdf2b9 (diff) |
sd-bus: export sd_bus_error_set_errnofv()
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r-- | src/libsystemd/sd-bus/bus-convenience.c | 2 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/bus-error.c | 4 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/bus-message.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd/sd-bus/bus-convenience.c b/src/libsystemd/sd-bus/bus-convenience.c index ae0f4fa217..a6317e9785 100644 --- a/src/libsystemd/sd-bus/bus-convenience.c +++ b/src/libsystemd/sd-bus/bus-convenience.c @@ -234,7 +234,7 @@ _public_ int sd_bus_reply_method_errnof( return 0; va_start(ap, format); - bus_error_set_errnofv(&berror, error, format, ap); + sd_bus_error_set_errnofv(&berror, error, format, ap); va_end(ap); return sd_bus_reply_method_error(call, &berror); diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/sd-bus/bus-error.c index 09800ec7d7..3bf0c5d3e4 100644 --- a/src/libsystemd/sd-bus/bus-error.c +++ b/src/libsystemd/sd-bus/bus-error.c @@ -468,7 +468,7 @@ _public_ int sd_bus_error_set_errno(sd_bus_error *e, int error) { return -error; } -int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) { +_public_ int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) { PROTECT_ERRNO; int r; @@ -551,7 +551,7 @@ _public_ int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *for va_list ap; va_start(ap, format); - r = bus_error_set_errnofv(e, error, format, ap); + r = sd_bus_error_set_errnofv(e, error, format, ap); va_end(ap); return r; diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c index 3f2d6e74c5..da14a28c9a 100644 --- a/src/libsystemd/sd-bus/bus-message.c +++ b/src/libsystemd/sd-bus/bus-message.c @@ -742,7 +742,7 @@ _public_ int sd_bus_message_new_method_errnof( va_list ap; va_start(ap, format); - bus_error_set_errnofv(&berror, error, format, ap); + sd_bus_error_set_errnofv(&berror, error, format, ap); va_end(ap); return sd_bus_message_new_method_error(call, m, &berror); |