changeset 35227:6b08a8332561

Fix variable declarations I stupidly forgot to make "static".
author reimar
date Thu, 01 Nov 2012 19:01:32 +0000
parents 584d7c20aca4
children ca073f3f4d4e
files libvo/vo_x11.c libvo/vo_xv.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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)
 {