diff gui/win32/interface.c @ 33579:cd855f2f1024

win32 gui: Mark some functions as static.
author diego
date Sun, 19 Jun 2011 17:32:54 +0000
parents 8860c936e5ce
children 7b168fb5ee98
line wrap: on
line diff
--- a/gui/win32/interface.c	Sun Jun 19 16:52:51 2011 +0000
+++ b/gui/win32/interface.c	Sun Jun 19 17:32:54 2011 +0000
@@ -118,7 +118,7 @@
  * \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 @@
 }
 
 /* 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 @@
     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);