summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-17 07:52:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-17 07:52:12 +0000
commitffa3222709be5ffb9dab894acedcecf9d7b2bb16 (patch)
tree952e6ec07750a86d659dd7f47a6275b35063e12e /apps
parent9a7ebfda3026dc5d01ec8cb41ca55dfa199269ff (diff)
improved ifdef and wrapped long lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6735 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c5
-rw-r--r--apps/plugin.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 46bc0df44d..b4a3d5c5c0 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -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;
diff --git a/apps/plugin.h b/apps/plugin.h
index d6e181393f..b4c1189635 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -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