[MPlayer-cvslog] r33667 - in trunk/gui/win32: dialogs.c gui.c interface.c
diego
subversion at mplayerhq.hu
Sun Jun 19 19:32:54 CEST 2011
Author: diego
Date: Sun Jun 19 19:32:54 2011
New Revision: 33667
Log:
win32 gui: Mark some functions as static.
Modified:
trunk/gui/win32/dialogs.c
trunk/gui/win32/gui.c
trunk/gui/win32/interface.c
Modified: trunk/gui/win32/dialogs.c
==============================================================================
--- trunk/gui/win32/dialogs.c Sun Jun 19 18:52:51 2011 (r33666)
+++ trunk/gui/win32/dialogs.c Sun Jun 19 19:32:54 2011 (r33667)
@@ -180,7 +180,7 @@ void display_opensubtitlewindow(gui_t *g
guiLoadSubtitle(subtitlefile);
}
-void display_loadplaylistwindow(gui_t *gui)
+static void display_loadplaylistwindow(gui_t *gui)
{
OPENFILENAME playlistopen;
char playlistfile[MAX_PATH];
@@ -207,7 +207,7 @@ void display_loadplaylistwindow(gui_t *g
}
}
-void display_saveplaylistwindow(gui_t* gui)
+static void display_saveplaylistwindow(gui_t* gui)
{
OPENFILENAME playlistsave;
static FILE *playlist_file = NULL;
Modified: trunk/gui/win32/gui.c
==============================================================================
--- trunk/gui/win32/gui.c Sun Jun 19 18:52:51 2011 (r33666)
+++ trunk/gui/win32/gui.c Sun Jun 19 19:32:54 2011 (r33667)
@@ -68,7 +68,7 @@ play_tree_t *playtree = NULL;
static HBRUSH colorbrush = NULL; //Handle to colorkey brush
static COLORREF windowcolor = RGB(255,0,255); //Windowcolor == colorkey
-void console_toggle(void)
+static void console_toggle(void)
{
if (console_state)
{
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Sun Jun 19 18:52:51 2011 (r33666)
+++ trunk/gui/win32/interface.c Sun Jun 19 19:32:54 2011 (r33667)
@@ -118,7 +118,7 @@ char *gstrdup(const char *str)
* \brief this replaces a string starting with search by replace.
* If not found, replace is appended.
*/
-void greplace(char ***list, char *search, char *replace)
+static void greplace(char ***list, char *search, char *replace)
{
int i = 0;
int len = (search) ? strlen(search) : 0;
@@ -758,7 +758,7 @@ int guiGetEvent(int type, void *arg)
}
/* This function adds/inserts one file into the gui playlist */
-int import_file_into_gui(char *pathname, int insert)
+static int import_file_into_gui(char *pathname, int insert)
{
char filename[MAX_PATH];
char *filepart = filename;
@@ -835,7 +835,7 @@ int import_playtree_playlist_into_gui(pl
return result;
}
-inline void gtkMessageBox(int type, const char *str)
+static inline void gtkMessageBox(int type, const char *str)
{
if (type & GTK_MB_FATAL)
MessageBox(NULL, str, "MPlayer GUI for Windows Error", MB_OK | MB_ICONERROR);
More information about the MPlayer-cvslog
mailing list