# HG changeset patch # User reimar # Date 1351796492 0 # Node ID 6b08a8332561025fde1a38544232f1389fe13a5e # Parent 584d7c20aca44de676be3eb527dfc6f08bd16564 Fix variable declarations I stupidly forgot to make "static". diff -r 584d7c20aca4 -r 6b08a8332561 libvo/vo_x11.c --- a/libvo/vo_x11.c Thu Nov 01 12:44:26 2012 +0000 +++ b/libvo/vo_x11.c Thu Nov 01 19:01:32 2012 +0000 @@ -66,7 +66,7 @@ const LIBVO_EXTERN(x11) /* private prototypes */ -vo_draw_alpha_func draw_alpha_func; +static vo_draw_alpha_func draw_alpha_func; /* local data */ static unsigned char *ImageData; diff -r 584d7c20aca4 -r 6b08a8332561 libvo/vo_xv.c --- a/libvo/vo_xv.c Thu Nov 01 12:44:26 2012 +0000 +++ b/libvo/vo_xv.c Thu Nov 01 19:01:32 2012 +0000 @@ -107,7 +107,7 @@ static struct vo_rect dst_rect; static uint32_t max_width = 0, max_height = 0; // zero means: not set -vo_draw_alpha_func draw_alpha_func; +static vo_draw_alpha_func draw_alpha_func; static void fixup_osd_position(int *x0, int *y0, int *w, int *h) {