summaryrefslogtreecommitdiffstats
path: root/gui/interface.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 14:02:09 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-14 14:02:09 +0000
commitdc32369107443eb9f5f1056cce1e07e3bee0e5c2 (patch)
treece56f0d9194ba04eb5ddbb2d0a8beb472cdee353 /gui/interface.c
parent56e0f7fe9e735af2df4c016990cbd803f6a9ef0c (diff)
downloadmpv-dc32369107443eb9f5f1056cce1e07e3bee0e5c2.tar.bz2
mpv-dc32369107443eb9f5f1056cce1e07e3bee0e5c2.tar.xz
GUI: Mark functions that are not used outside their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30577 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'gui/interface.c')
-rw-r--r--gui/interface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/interface.c b/gui/interface.c
index c78c2eafe2..451caee21e 100644
--- a/gui/interface.c
+++ b/gui/interface.c
@@ -73,7 +73,7 @@ int vcd_seek_to_track(void *vcd, int track);
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 @@ int gstrcmp( const char * a,const char * b )
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 @@ void gfree( void ** p )
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 @@ void gaddlist( char *** list,const char * entry )
* \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 @@ void * gtkSet( int cmd,float fparam, void * vparam )
//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;