cocoa tiny fixes
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 2 Mar 2005 22:22:43 +0000 (22:22 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 2 Mar 2005 22:22:43 +0000 (22:22 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1322 c046a42c-6fe2-441c-8c8c-71466251a162

cocoa.m
vl.h

diff --git a/cocoa.m b/cocoa.m
index ade7f61..38b4760 100644 (file)
--- a/cocoa.m
+++ b/cocoa.m
               x  simple graphical prompt to demo
               -  better graphical prompt
 */
-#include "vl.h"
+
 #import <Cocoa/Cocoa.h>
 
+#include "vl.h"
+
 NSWindow *window = NULL;
 NSQuickDrawView *qd_view = NULL;
 
diff --git a/vl.h b/vl.h
index 3fd7ce9..c8404e1 100644 (file)
--- a/vl.h
+++ b/vl.h
@@ -572,6 +572,9 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base,
 /* sdl.c */
 void sdl_display_init(DisplayState *ds, int full_screen);
 
+/* cocoa.m */
+void cocoa_display_init(DisplayState *ds, int full_screen);
+
 /* ide.c */
 #define MAX_DISKS 4