changeset 32031:d1e3a6f7d48a

Move use_menu extern declaration to mplayer.h, where it belongs.
author diego
date Thu, 09 Sep 2010 15:46:25 +0000
parents c2d9c19985cb
children 52b0385d2d7a
files command.c mplayer.h
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Thu Sep 09 15:41:43 2010 +0000
+++ b/command.c	Thu Sep 09 15:46:25 2010 +0000
@@ -70,8 +70,6 @@
 
 #define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5))
 
-extern int use_menu;
-
 static void rescale_input_coordinates(int ix, int iy, double *dx, double *dy)
 {
     //remove the borders, if any, and rescale to the range [0,1],[0,1]
--- a/mplayer.h	Thu Sep 09 15:41:43 2010 +0000
+++ b/mplayer.h	Thu Sep 09 15:46:25 2010 +0000
@@ -42,6 +42,7 @@
 extern char * filename;
 
 extern int stream_cache_size;
+extern int use_menu;
 extern int autosync;
 extern double start_pts;
 extern int frame_dropping;