# HG changeset patch # User ib # Date 1301044617 0 # Node ID 63beda39479cd1c705a891da59a3b31dad98a975 # Parent 733cca07c9a4b8104b8b2532b968b14c5a26f8d5 Cosmetic: Move supportive stuff at top of file. Variable use_gui isn't defined in interface.c. diff -r 733cca07c9a4 -r 63beda39479c gui/interface.h --- 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;