diff options
author | Steve Bavin <pondlife@pondlife.me> | 2008-07-16 06:10:26 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2008-07-16 06:10:26 +0000 |
commit | eb66b559e1566ffaf9ee7af6d19f7ea9b55fd2e5 (patch) | |
tree | 0a052b197c09011ee0f7ee532b1c22b0a2b7cbc6 /apps/bookmark.c | |
parent | 635ad635391b79e24c2ee470ef5f463bf3bde6ca (diff) | |
download | rockbox-eb66b559e1566ffaf9ee7af6d19f7ea9b55fd2e5.tar.gz rockbox-eb66b559e1566ffaf9ee7af6d19f7ea9b55fd2e5.zip |
Tiny bit of const policing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18065 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r-- | apps/bookmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 5bb87ac25e..0c3da641cb 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -93,7 +93,7 @@ static char* get_bookmark_info(int list_index, | |||
93 | size_t buffer_len); | 93 | size_t buffer_len); |
94 | static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resume); | 94 | static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resume); |
95 | static bool system_check(void); | 95 | static bool system_check(void); |
96 | static bool write_bookmark(bool create_bookmark_file, char *bookmark); | 96 | static bool write_bookmark(bool create_bookmark_file, const char *bookmark); |
97 | static int get_bookmark_count(const char* bookmark_file_name); | 97 | static int get_bookmark_count(const char* bookmark_file_name); |
98 | 98 | ||
99 | static char global_temp_buffer[MAX_PATH+1]; | 99 | static char global_temp_buffer[MAX_PATH+1]; |
@@ -216,7 +216,7 @@ bool bookmark_autobookmark(void) | |||
216 | /* resume_index*resume_offset*resume_seed*resume_first_index* */ | 216 | /* resume_index*resume_offset*resume_seed*resume_first_index* */ |
217 | /* resume_file*milliseconds*MP3 Title* */ | 217 | /* resume_file*milliseconds*MP3 Title* */ |
218 | /* ------------------------------------------------------------------------*/ | 218 | /* ------------------------------------------------------------------------*/ |
219 | static bool write_bookmark(bool create_bookmark_file, char *bookmark) | 219 | static bool write_bookmark(bool create_bookmark_file, const char *bookmark) |
220 | { | 220 | { |
221 | bool success=false; | 221 | bool success=false; |
222 | if (!bookmark) | 222 | if (!bookmark) |