]> git.proxmox.com Git - qemu.git/blobdiff - bsd-user/qemu.h
Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)
[qemu.git] / bsd-user / qemu.h
index 554ff8b0eefe8c49c2f4870854faef83a1de00ef..976361622dfe60966adb52b5e23090df0a819337 100644 (file)
@@ -139,7 +139,7 @@ abi_long do_netbsd_syscall(void *cpu_env, int num, abi_long arg1,
 abi_long do_openbsd_syscall(void *cpu_env, int num, abi_long arg1,
                             abi_long arg2, abi_long arg3, abi_long arg4,
                             abi_long arg5, abi_long arg6);
-void gemu_log(const char *fmt, ...) __attribute__((format(printf,1,2)));
+void gemu_log(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
 extern THREAD CPUState *thread_env;
 void cpu_loop(CPUState *env);
 char *target_strerror(int err);