# HG changeset patch # User diego # Date 1311774018 0 # Node ID 786d1187960d5f863a7f470c414c7c1bf7722721 # Parent 77bf3809105153c006ff6caf5ed09b1fc3589e19 libvo: extend alpha_func function pointers with parameter type declaration This fixes compiler warnings about missing prototypes in function declarations. diff -r 77bf38091051 -r 786d1187960d libvo/vo_s3fb.c --- a/libvo/vo_s3fb.c Wed Jul 27 13:40:16 2011 +0000 +++ b/libvo/vo_s3fb.c Wed Jul 27 13:40:18 2011 +0000 @@ -69,7 +69,7 @@ screenwidth, screenheight, screendepth, screenstride, vidwidth, vidheight, vidx, vidy, page, offset, sreg; static char *inpage, *inpage0, *smem = NULL; -static void (*alpha_func)(); +static void (*alpha_func)(int, int, unsigned char*, unsigned char*, int, unsigned char*, int); static void clear_screen(void); diff -r 77bf38091051 -r 786d1187960d libvo/vo_tdfxfb.c --- a/libvo/vo_tdfxfb.c Wed Jul 27 13:40:16 2011 +0000 +++ b/libvo/vo_tdfxfb.c Wed Jul 27 13:40:18 2011 +0000 @@ -99,7 +99,8 @@ static volatile voodoo_2d_reg *reg_2d; static voodoo_yuv_reg *reg_YUV; static struct YUV_plane *YUV; -static void (*alpha_func)(), (*alpha_func_double)(); +static void (*alpha_func)(int, int, unsigned char*, unsigned char*, int, unsigned char*, int), + (*alpha_func_double)(int, int, unsigned char*, unsigned char*, int, unsigned char*, int); static int preinit(const char *arg) {