summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-09-17 10:31:24 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:16:56 +0200
commitefd24e30ddadfe31683337c4f0b2183abb5ecdde (patch)
treeb635616b581f91ac1bb3bf8eba0081f7e1f48c56 /libvo
parent14c22f8236d8624d9fdf29882d2e3fec5a421db4 (diff)
downloadmpv-efd24e30ddadfe31683337c4f0b2183abb5ecdde.tar.bz2
mpv-efd24e30ddadfe31683337c4f0b2183abb5ecdde.tar.xz
vesa_lvo.c: make functions static
Mark functs not used outside of the file as static, remove from header; fixes: libvo/vesa_lvo.c:187: warning: no previous prototype for 'vlvo_draw_slice' libvo/vesa_lvo.c:205: warning: no previous prototype for 'vlvo_draw_frame' libvo/vesa_lvo.c:214: warning: no previous prototype for 'vlvo_flip_page' libvo/vesa_lvo.c:275: warning: no previous prototype for 'vlvo_draw_osd' libvo/vesa_lvo.c:312: warning: no previous prototype for 'vlvo_query_info' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32288 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vesa_lvo.c11
-rw-r--r--libvo/vesa_lvo.h6
2 files changed, 6 insertions, 11 deletions
diff --git a/libvo/vesa_lvo.c b/libvo/vesa_lvo.c
index fa525d321d..cc77012c0b 100644
--- a/libvo/vesa_lvo.c
+++ b/libvo/vesa_lvo.c
@@ -183,7 +183,8 @@ static int vlvo_draw_slice_420(uint8_t *image[], int stride[],
return 0;
}
-int vlvo_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
+static int vlvo_draw_slice(uint8_t *image[], int stride[],
+ int w,int h,int x,int y)
{
if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
mp_msg(MSGT_VO,MSGL_DBG2, "vesa_lvo: vlvo_draw_slice() was called\n");}
@@ -201,7 +202,7 @@ int vlvo_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
return 0;
}
-int vlvo_draw_frame(uint8_t *image[])
+static int vlvo_draw_frame(uint8_t *image[])
{
/* Note it's very strange but sometime for YUY2 draw_frame is called */
fast_memcpy(lvo_mem,image[0],mga_vid_config.frame_size);
@@ -210,7 +211,7 @@ int vlvo_draw_frame(uint8_t *image[])
return 0;
}
-void vlvo_flip_page(void)
+static void vlvo_flip_page(void)
{
if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
mp_msg(MSGT_VO,MSGL_DBG2, "vesa_lvo: vlvo_draw_osd() was called\n");}
@@ -271,7 +272,7 @@ static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned
}
#endif
-void vlvo_draw_osd(void)
+static void vlvo_draw_osd(void)
{
if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
mp_msg(MSGT_VO,MSGL_DBG2,"vesa_lvo: vlvo_draw_osd() was called\n"); }
@@ -307,7 +308,7 @@ int vlvo_preinit(const char *drvname)
return 0;
}
-uint32_t vlvo_query_info(uint32_t format)
+static uint32_t vlvo_query_info(uint32_t format)
{
if( mp_msg_test(MSGT_VO,MSGL_DBG2) ) {
mp_msg(MSGT_VO,MSGL_DBG2, "vesa_lvo: query_format was called: %x (%s)\n",format,vo_format_name(format)); }
diff --git a/libvo/vesa_lvo.h b/libvo/vesa_lvo.h
index 9d77f60045..beacc0f577 100644
--- a/libvo/vesa_lvo.h
+++ b/libvo/vesa_lvo.h
@@ -30,11 +30,5 @@ int vlvo_init(unsigned src_width,unsigned src_height,
unsigned x_org,unsigned y_org,unsigned dst_width,
unsigned dst_height,unsigned format,unsigned dest_bpp);
void vlvo_term( void );
-uint32_t vlvo_query_info(uint32_t format);
-
-int vlvo_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
-int vlvo_draw_frame(uint8_t *src[]);
-void vlvo_flip_page(void);
-void vlvo_draw_osd(void);
#endif /* MPLAYER_VESA_LVO_H */