mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 05:18:00 +02:00
Add more _DBUS_GNUC_PRINTF annotations
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98658
This commit is contained in:
parent
33312ed7f2
commit
259d2bcf59
2 changed files with 5 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ DBUS_EXPORT
|
|||
DBusMessage* dbus_message_new_error_printf (DBusMessage *reply_to,
|
||||
const char *error_name,
|
||||
const char *error_format,
|
||||
...);
|
||||
...) _DBUS_GNUC_PRINTF (3, 4);
|
||||
|
||||
DBUS_EXPORT
|
||||
DBusMessage* dbus_message_copy (const DBusMessage *message);
|
||||
|
|
|
|||
|
|
@ -34,6 +34,10 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static void do_test (int minimum,
|
||||
const char *format,
|
||||
...) _DBUS_GNUC_PRINTF (2, 3);
|
||||
|
||||
static void
|
||||
do_test (int minimum,
|
||||
const char *format,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue