]> git.proxmox.com Git - qemu.git/commitdiff
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 ade7f61d82685df8423bdd6fb99fe3bedc3af536..38b4760f9b8730e84762f147a75a4cd1b2a249d8 100644 (file)
--- a/cocoa.m
+++ b/cocoa.m
               x  simple graphical prompt to demo
               -  better graphical prompt
 */
               x  simple graphical prompt to demo
               -  better graphical prompt
 */
-#include "vl.h"
+
 #import <Cocoa/Cocoa.h>
 
 #import <Cocoa/Cocoa.h>
 
+#include "vl.h"
+
 NSWindow *window = NULL;
 NSQuickDrawView *qd_view = NULL;
 
 NSWindow *window = NULL;
 NSQuickDrawView *qd_view = NULL;
 
diff --git a/vl.h b/vl.h
index 3fd7ce9ad1ed935e03f3920b224b8d7958712769..c8404e10e5badeb4f49f65b8a35cfb7386c114a9 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);
 
 /* 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
 
 /* ide.c */
 #define MAX_DISKS 4