summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-bus/bus-error.h')
-rw-r--r--src/libsystemd-bus/bus-error.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-error.h b/src/libsystemd-bus/bus-error.h
index f442e953e0..f6b9824c95 100644
--- a/src/libsystemd-bus/bus-error.h
+++ b/src/libsystemd-bus/bus-error.h
@@ -24,10 +24,11 @@
#include <stdbool.h>
#include "sd-bus.h"
+#include "macro.h"
bool bus_error_is_dirty(sd_bus_error *e);
const char *bus_error_message(const sd_bus_error *e, int error);
-int bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_list ap);
-int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap);
+int bus_error_setfv(sd_bus_error *e, const char *name, const char *format, va_list ap) _printf_(3,0);
+int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) _printf_(3,0);