diff options
Diffstat (limited to 'src/support.c')
-rw-r--r-- | src/support.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/support.c b/src/support.c index 90ecb8b0d..3717e6c0f 100644 --- a/src/support.c +++ b/src/support.c @@ -36,26 +36,6 @@ extern void screen_status_printf(char *format, ...); static gboolean noconvert = TRUE; char * -trim(char *str) -{ - char *end; - - if( str==NULL ) - return NULL; - - while( IS_WHITESPACE(*str) ) - str++; - - end=str+strlen(str)-1; - while( end>str && IS_WHITESPACE(*end) ) - { - *end = '\0'; - end--; - } - return str; -} - -char * remove_trailing_slash(char *path) { int len; |