From dc32369107443eb9f5f1056cce1e07e3bee0e5c2 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 14 Feb 2010 14:02:09 +0000 Subject: 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 --- gui/interface.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gui/interface.c') 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; -- cgit v1.2.3