summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-error.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-15 23:43:47 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-15 23:43:47 +0100
commit9bfa2c029d4367406bda9b8984e579e0b06b3b2b (patch)
tree8e498dc0f98ad6266ea9a73c9cf09ef7b0b1d277 /src/libsystemd-bus/bus-error.c
parentb6c631f378b4e5a9b68ef34f103b2ece21a9e9fa (diff)
bus: _printf_ attributes should be on prototypes not function definitions for non-static functions
Diffstat (limited to 'src/libsystemd-bus/bus-error.c')
-rw-r--r--src/libsystemd-bus/bus-error.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-error.c b/src/libsystemd-bus/bus-error.c
index 2d1e80dc06..25eaf0eee4 100644
--- a/src/libsystemd-bus/bus-error.c
+++ b/src/libsystemd-bus/bus-error.c
@@ -250,7 +250,6 @@ finish:
return -bus_error_name_to_errno(name);
}
-_printf_(3,0)
int bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_list ap) {
if (!name)
@@ -464,7 +463,6 @@ _public_ int sd_bus_error_set_errno(sd_bus_error *e, int error) {
return -error;
}
-_printf_(3,0)
int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) {
int r;