1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-25 03:34:00 +03:00

Use G_GNUC_PRINTF instead of ATTRIBUTE_FMT_PRINTF

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Ján Tomko
2019-10-15 13:35:07 +02:00
parent d54153fde3
commit da367c0f9b
18 changed files with 41 additions and 61 deletions

View File

@@ -48,12 +48,12 @@ void virHostMsgSetQuiet(bool quietFlag);
void virHostMsgCheck(const char *prefix,
const char *format,
...) ATTRIBUTE_FMT_PRINTF(2, 3);
...) G_GNUC_PRINTF(2, 3);
void virHostMsgPass(void);
void virHostMsgFail(virHostValidateLevel level,
const char *format,
...) ATTRIBUTE_FMT_PRINTF(2, 3);
...) G_GNUC_PRINTF(2, 3);
int virHostValidateDeviceExists(const char *hvname,
const char *dev_name,