mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-14 09:48:02 +02:00
bus: put the printf attribute in the header where it will do more good
Now we can actually notice incorrect format strings in other translation units. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88810 Reviewed-by: Philip Withnall
This commit is contained in:
parent
1f716452e7
commit
5b89e2a839
2 changed files with 1 additions and 4 deletions
|
|
@ -1324,9 +1324,6 @@ bus_context_get_initial_fd_limit (BusContext *context)
|
|||
return context->initial_fd_limit;
|
||||
}
|
||||
|
||||
void
|
||||
bus_context_log (BusContext *context, DBusSystemLogSeverity severity, const char *msg, ...) _DBUS_GNUC_PRINTF (3, 4);
|
||||
|
||||
void
|
||||
bus_context_log (BusContext *context, DBusSystemLogSeverity severity, const char *msg, ...)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ DBusRLimit * bus_context_get_initial_fd_limit (BusContext
|
|||
void bus_context_log (BusContext *context,
|
||||
DBusSystemLogSeverity severity,
|
||||
const char *msg,
|
||||
...);
|
||||
...) _DBUS_GNUC_PRINTF (3, 4);
|
||||
dbus_bool_t bus_context_check_security_policy (BusContext *context,
|
||||
BusTransaction *transaction,
|
||||
DBusConnection *sender,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue