changeset 30978:843571a87e21

Remove unused functions.
author reimar
date Mon, 05 Apr 2010 16:42:52 +0000
parents 0b45d6af9ffe
children cfa4a8bfd638
files gui/interface.c
diffstat 1 files changed, 0 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Apr 05 16:40:04 2010 +0000
+++ b/gui/interface.c	Mon Apr 05 16:42:52 2010 +0000
@@ -75,27 +75,6 @@
 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 @@
  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...
  */