changeset 28075:ca9badc94740

#include appropriate headers instead of locally declaring function prototypes.
author diego
date Mon, 08 Dec 2008 00:02:07 +0000
parents 24871084fad6
children dcfe2ea48fc1
files libvo/vo_macosx.m libvo/vo_quartz.c
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.m	Sat Dec 06 12:13:14 2008 +0000
+++ b/libvo/vo_macosx.m	Mon Dec 08 00:02:07 2008 +0000
@@ -25,6 +25,8 @@
 #include "aspect.h"
 #include "mp_msg.h"
 #include "m_option.h"
+#include "mp_fifo.h"
+#include "libvo/sub.h"
 
 #include "input/input.h"
 #include "input/mouse.h"
@@ -85,9 +87,6 @@
 
 LIBVO_EXTERN(macosx)
 
-void mplayer_put_key(int code);
-void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
-
 static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigned char *srca, int stride)
 {
 	switch (image_format)
--- a/libvo/vo_quartz.c	Sat Dec 06 12:13:14 2008 +0000
+++ b/libvo/vo_quartz.c	Mon Dec 08 00:02:07 2008 +0000
@@ -30,6 +30,7 @@
 #include "m_option.h"
 #include "mp_fifo.h"
 #include "mpbswap.h"
+#include "libvo/sub.h"
 
 #include "input/input.h"
 #include "input/mouse.h"
@@ -128,8 +129,6 @@
 
 #include "osdep/keycodes.h"
 
-void vo_draw_text(int dxs, int dys, void (*draw_alpha) (int x0, int y0, int w, int h, unsigned char *src, unsigned char *srca, int stride));
-
 //PROTOTYPE/////////////////////////////////////////////////////////////////
 static OSStatus KeyEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);
 static OSStatus MouseEventHandler(EventHandlerCallRef nextHandler, EventRef event, void *userData);