changeset 33021:63beda39479c

Cosmetic: Move supportive stuff at top of file. Variable use_gui isn't defined in interface.c.
author ib
date Fri, 25 Mar 2011 09:16:57 +0000
parents 733cca07c9a4
children 9abc0dbd6314
files gui/interface.h
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.h	Thu Mar 24 22:46:22 2011 +0000
+++ b/gui/interface.h	Fri Mar 25 09:16:57 2011 +0000
@@ -24,11 +24,15 @@
 #include "playtree.h"
 #include "stream/stream.h"
 
-// these are in support of the non-GUI files that interact with
-// the GUI and that only need to include interface.h for this
+// These are in support of the non-GUI files that interact with
+// the GUI and that only need to include interface.h for this.
+// ------------------------------------------------------------
 #include "cfg.h"
 #include "mplayer/play.h"
 
+extern int use_gui;             // this is defined in mplayer.c
+// ------------------------------------------------------------
+
 #define guiXEvent          0
 #define guiCEvent          1
 #define guiIEvent          2
@@ -210,7 +214,6 @@
 
 extern guiInterface_t guiIntfStruct;
 
-extern int use_gui;   // this is defined in mplayer.c
 extern int guiWinID;
 
 extern char *skinName;