diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-09-17 10:31:24 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:16:56 +0200 |
commit | efd24e30ddadfe31683337c4f0b2183abb5ecdde (patch) | |
tree | b635616b581f91ac1bb3bf8eba0081f7e1f48c56 /libvo/vesa_lvo.c | |
parent | 14c22f8236d8624d9fdf29882d2e3fec5a421db4 (diff) | |
download | mpv-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/vesa_lvo.c')
-rw-r--r-- | libvo/vesa_lvo.c | 11 |
1 files changed, 6 insertions, 5 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)); } |