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
This commit is contained in:
diego 2010-09-17 10:31:24 +00:00 committed by Uoti Urpala
parent 14c22f8236
commit efd24e30dd
2 changed files with 6 additions and 11 deletions

View File

@ -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)); }

View File

@ -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 */