aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-04 12:56:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-04 12:56:28 +0000
commit40c3bac35a868c275e083cad9ff39d3119847707 (patch)
tree5971aea492fe5ca89b2e13afd876d3f06f97091a /vl.h
parent6eaee4614437e3a99af817485963487efd84e771 (diff)
win32 port (Kazu)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@702 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index afec99f88b..65c8f08aee 100644
--- a/vl.h
+++ b/vl.h
@@ -39,6 +39,9 @@
#ifndef O_LARGEFILE
#define O_LARGEFILE 0
#endif
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
#ifdef _WIN32
#define lseek64 lseek
@@ -447,7 +450,7 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device,
/* monitor.c */
void monitor_init(void);
-void term_printf(const char *fmt, ...);
+void term_printf(const char *fmt, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
void term_flush(void);
void term_print_help(void);