1
0
Fork 0
forked from len0rd/rockbox

Accept FS#8469 by Bryan Childs with a few adjustments: Remove duplicate strip_extension() function from albumart.c. The other one is moved from tree.c to misc.c.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16103 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2008-01-18 10:02:03 +00:00
parent 905d80619c
commit 536b5a0482
4 changed files with 25 additions and 48 deletions

View file

@ -118,5 +118,10 @@ char* strrsplt(char* str, int c);
bool file_exists(const char *file);
bool dir_exists(const char *path);
/*
* removes the extension of filename (if it doesn't start with a .)
* puts the result in buffer
*/
char *strip_extension(const char *filename, char *buffer);
#endif /* MISC_H */