diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
commit | 50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch) | |
tree | c7881b015b220558167310345b162324c96be15a /apps/bookmark.c | |
parent | adb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff) | |
download | rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip |
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r-- | apps/bookmark.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index c48810c19c..3d8df3ec0b 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -342,7 +342,7 @@ static char* create_bookmark() | |||
342 | /* new optional bookmark token descriptors should be inserted | 342 | /* new optional bookmark token descriptors should be inserted |
343 | just before the "%s;%s" in this line... */ | 343 | just before the "%s;%s" in this line... */ |
344 | #if CONFIG_CODEC == SWCODEC | 344 | #if CONFIG_CODEC == SWCODEC |
345 | ">%d;%d;%ld;%d;%ld;%d;%d;%d;%d;%s;%s", | 345 | ">%d;%d;%ld;%d;%ld;%d;%d;%ld;%ld;%s;%s", |
346 | #else | 346 | #else |
347 | ">%d;%d;%ld;%d;%ld;%d;%d;%s;%s", | 347 | ">%d;%d;%ld;%d;%ld;%d;%d;%s;%s", |
348 | #endif | 348 | #endif |
@@ -360,8 +360,8 @@ static char* create_bookmark() | |||
360 | global_settings.playlist_shuffle, | 360 | global_settings.playlist_shuffle, |
361 | /* ...and their values should go here */ | 361 | /* ...and their values should go here */ |
362 | #if CONFIG_CODEC == SWCODEC | 362 | #if CONFIG_CODEC == SWCODEC |
363 | sound_get_pitch(), | 363 | (long)sound_get_pitch(), |
364 | dsp_get_timestretch(), | 364 | (long)dsp_get_timestretch(), |
365 | #endif | 365 | #endif |
366 | /* more mandatory tokens */ | 366 | /* more mandatory tokens */ |
367 | playlist_get_name(NULL, global_temp_buffer, | 367 | playlist_get_name(NULL, global_temp_buffer, |