Mercurial > mplayer.hg
diff gui/interface.c @ 30535:016e5fc1dead
GUI: Mark functions that are not used outside their files as static.
| author | diego |
|---|---|
| date | Sun, 14 Feb 2010 14:02:09 +0000 |
| parents | f4e017b6921a |
| children | 39a4dd7ec420 |
line wrap: on
line diff
--- a/gui/interface.c Sun Feb 14 13:57:30 2010 +0000 +++ b/gui/interface.c Sun Feb 14 14:02:09 2010 +0000 @@ -73,7 +73,7 @@ guiInterface_t guiIntfStruct; int guiWinID=-1; -char * gstrcat( char ** dest,const char * src ) +static char * gstrcat( char ** dest, const char * src ) { char * tmp = NULL; @@ -101,7 +101,7 @@ return strcmp( a,b ); } -int gstrncmp( const char * a,const char * b,int size ) +static int gstrncmp( const char * a, const char * b, int size ) { if ( !a && !b ) return 0; if ( !a || !b ) return -1; @@ -126,7 +126,7 @@ free( *p ); *p=NULL; } -void gset( char ** str, const char * what ) +static void gset( char ** str, const char * what ) { if ( *str ) { if ( !strstr( *str,what ) ) { gstrcat( str,"," ); gstrcat( str,what ); }} else gstrcat( str,what ); @@ -154,7 +154,7 @@ * \brief this replaces a string starting with search by replace. * If not found, replace is appended. */ -void greplace(char ***list, const char *search, const char *replace) +static void greplace(char ***list, const char *search, const char *replace) { int i = 0; int len = (search) ? strlen(search) : 0; @@ -1197,7 +1197,7 @@ //This function adds/inserts one file into the gui playlist -int import_file_into_gui(char* temp, int insert) +static int import_file_into_gui(char* temp, int insert) { char *filename, *pathname; plItem * item;
