[MPlayer-cvslog] r32931 - in trunk/gui/skin: skin.c skin.h
ib
subversion at mplayerhq.hu
Sat Feb 19 14:23:16 CET 2011
Author: ib
Date: Sat Feb 19 14:23:16 2011
New Revision: 32931
Log:
Remove unused function.
Modified:
trunk/gui/skin/skin.c
trunk/gui/skin/skin.h
Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c Sat Feb 19 14:20:11 2011 (r32930)
+++ trunk/gui/skin/skin.c Sat Feb 19 14:23:16 2011 (r32931)
@@ -628,21 +628,6 @@ _item skinItem[] =
#define ITEMS (int)( sizeof( skinItem )/sizeof( _item ) )
-char * trimleft( char * in )
-{
- int c = 0;
- char * out;
- if ( strlen( in ) == 0 ) return NULL;
- while ( in[c] == ' ' ) c++;
- if ( c != 0 )
- {
- out=malloc( strlen( in ) - c + 1 );
- memcpy( out,&in[c],strlen( in ) - c + 1 );
- }
- else out=in;
- return out;
-}
-
char * strswap( char * in,char what,char whereof )
{
int i;
Modified: trunk/gui/skin/skin.h
==============================================================================
--- trunk/gui/skin/skin.h Sat Feb 19 14:20:11 2011 (r32930)
+++ trunk/gui/skin/skin.h Sat Feb 19 14:23:16 2011 (r32931)
@@ -28,7 +28,6 @@ int skinBPRead( char * fname, txSample *
// ---
-char * trimleft( char * in );
char * strswap( char * in, char what, char whereof );
char * trim( char * in );
More information about the MPlayer-cvslog
mailing list