summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-11-18 14:12:01 +0000
committerNils Wallménius <nils@rockbox.org>2007-11-18 14:12:01 +0000
commit4acae4da032ebd045456d3a625cc96ad4d4745d8 (patch)
tree88f634756aa1c40ebcaa4889e8b5bb4637dfc9e9 /apps/bookmark.c
parent940fe31f8102e8723856471896e463d090354aaf (diff)
downloadrockbox-4acae4da032ebd045456d3a625cc96ad4d4745d8.tar.gz
rockbox-4acae4da032ebd045456d3a625cc96ad4d4745d8.tar.bz2
rockbox-4acae4da032ebd045456d3a625cc96ad4d4745d8.zip
Use the strrsplt function in one more place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15662 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index e0e9f8bd37..3d4705960c 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -508,22 +508,6 @@ static int buffer_bookmarks(struct bookmark_list* bookmarks, int first_line)
return bookmarks->start + bookmarks->count;
}
-static char* strrsplt(char* str, int c)
-{
- char* s = strrchr(str, c);
-
- if (s != NULL)
- {
- *s++ = '\0';
- }
- else
- {
- s = str;
- }
-
- return s;
-}
-
static char* get_bookmark_info(int list_index, void* data, char *buffer)
{
struct bookmark_list* bookmarks = (struct bookmark_list*) data;