[MPlayer-cvslog] r31020 - trunk/gui/interface.c
reimar
subversion at mplayerhq.hu
Mon Apr 5 18:42:52 CEST 2010
Author: reimar
Date: Mon Apr 5 18:42:52 2010
New Revision: 31020
Log:
Remove unused functions.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Mon Apr 5 18:40:04 2010 (r31019)
+++ trunk/gui/interface.c Mon Apr 5 18:42:52 2010 (r31020)
@@ -75,27 +75,6 @@ int vcd_seek_to_track(void *vcd, int tra
guiInterface_t guiIntfStruct;
int guiWinID=-1;
-static char * gstrcat( char ** dest, const char * src )
-{
- char * tmp = NULL;
-
- if ( !src ) return NULL;
-
- if ( *dest )
- {
- tmp=malloc( strlen( *dest ) + strlen( src ) + 1 );
-
- if ( tmp ) /* TODO: advanced error handling */
- {
- strcpy( tmp,*dest ); strcat( tmp,src ); free( *dest );
- }
- }
- else
- { tmp=malloc( strlen( src ) + 1 ); strcpy( tmp,src ); }
- *dest=tmp;
- return tmp;
-}
-
int gstrcmp( const char * a,const char * b )
{
if ( !a && !b ) return 0;
@@ -128,12 +107,6 @@ void gfree( void ** p )
free( *p ); *p=NULL;
}
-static void gset( char ** str, const char * what )
-{
- if ( *str ) { if ( !strstr( *str,what ) ) { gstrcat( str,"," ); gstrcat( str,what ); }}
- else gstrcat( str,what );
-}
-
/**
* \brief this actually creates a new list containing only one element...
*/
More information about the MPlayer-cvslog
mailing list