]> Git Repo - qemu.git/blobdiff - qemu-common.h
Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)
[qemu.git] / qemu-common.h
index 88c5207cf362a665fecb02a46b7bdad828ee3088..81aafa0a49441ba09231d0ac2df23ba32e151357 100644 (file)
@@ -196,8 +196,7 @@ int qemu_pipe(int pipefd[2]);
 
 /* Error handling.  */
 
-void QEMU_NORETURN hw_error(const char *fmt, ...)
-    __attribute__ ((__format__ (__printf__, 1, 2)));
+void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
 
 /* IO callbacks.  */
 typedef void IOReadHandler(void *opaque, const uint8_t *buf, int size);
This page took 0.022572 seconds and 4 git commands to generate.