improved ifdef and wrapped long lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6735 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9a7ebfda30
commit
ffa3222709
2 changed files with 6 additions and 4 deletions
|
@ -330,8 +330,9 @@ static const struct plugin_api rockbox_api = {
|
|||
strcasestr,
|
||||
};
|
||||
|
||||
#ifdef IRIVER_H100
|
||||
int codec_load_ram(char* pluginptr, size_t size, void *parameter, void* ptr2, size_t bufwrap)
|
||||
#if CONFIG_HWCODEC == MASNONE
|
||||
int codec_load_ram(char* pluginptr, size_t size, void *parameter, void* ptr2,
|
||||
size_t bufwrap)
|
||||
{
|
||||
enum plugin_status (*plugin_start)(struct plugin_api* api, void* param);
|
||||
int copy_n;
|
||||
|
|
|
@ -385,8 +385,9 @@ struct plugin_api {
|
|||
};
|
||||
|
||||
/* defined by the plugin loader (plugin.c) */
|
||||
#ifdef IRIVER_H100
|
||||
int codec_load_ram(char* pluginptr, size_t size, void *parameter, void* ptr2, size_t bufwrap);
|
||||
#if CONFIG_HWCODEC == MASNONE
|
||||
int codec_load_ram(char* pluginptr, size_t size, void *parameter, void* ptr2,
|
||||
size_t bufwrap);
|
||||
int codec_load_file(const char* plugin, void* parameter);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue