diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-01-08 09:58:58 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-08 09:58:58 +0000 |
| commit | 1afa395c2fe08ed937dbb0624ade48e46be87efe (patch) | |
| tree | 621bd3dcf4c1250790f6cf414645d36611684b79 /apps/plugin.c | |
| parent | fe706d2754220794d6a22370424391e146b75c95 (diff) | |
| download | rockbox-1afa395c2fe08ed937dbb0624ade48e46be87efe.zip rockbox-1afa395c2fe08ed937dbb0624ade48e46be87efe.tar.gz rockbox-1afa395c2fe08ed937dbb0624ade48e46be87efe.tar.bz2 rockbox-1afa395c2fe08ed937dbb0624ade48e46be87efe.tar.xz | |
The splash() function's second argument (keymask) is now removed, as it
was not used by any code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index d711027..b31988e 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -191,7 +191,7 @@ int plugin_load(char* plugin, void* parameter) pd = dlopen(path, RTLD_NOW); if (!pd) { snprintf(buf, sizeof buf, "Can't open %s", plugin); - splash(HZ*2, 0, true, buf); + splash(HZ*2, true, buf); DEBUGF("dlopen(%s): %s\n",path,dlerror()); dlclose(pd); return -1; @@ -201,7 +201,7 @@ int plugin_load(char* plugin, void* parameter) if (!plugin_start) { plugin_start = dlsym(pd, "_plugin_start"); if (!plugin_start) { - splash(HZ*2, 0, true, "Can't find entry point"); + splash(HZ*2, true, "Can't find entry point"); dlclose(pd); return -1; } @@ -210,7 +210,7 @@ int plugin_load(char* plugin, void* parameter) fd = open(plugin, O_RDONLY); if (fd < 0) { snprintf(buf, sizeof buf, str(LANG_PLUGIN_CANT_OPEN), plugin); - splash(HZ*2, 0, true, buf); + splash(HZ*2, true, buf); return fd; } @@ -220,12 +220,12 @@ int plugin_load(char* plugin, void* parameter) if (plugin_size < 0) { /* read error */ snprintf(buf, sizeof buf, str(LANG_READ_FAILED), plugin); - splash(HZ*2, 0, true, buf); + splash(HZ*2, true, buf); return -1; } if (plugin_size == 0) { /* loaded a 0-byte plugin, implying it's not for this model */ - splash(HZ*2, 0, true, str(LANG_PLUGIN_WRONG_MODEL)); + splash(HZ*2, true, str(LANG_PLUGIN_WRONG_MODEL)); return -1; } #endif @@ -242,15 +242,15 @@ int plugin_load(char* plugin, void* parameter) return PLUGIN_USB_CONNECTED; case PLUGIN_WRONG_API_VERSION: - splash(HZ*2, 0, true, str(LANG_PLUGIN_WRONG_VERSION)); + splash(HZ*2, true, str(LANG_PLUGIN_WRONG_VERSION)); break; case PLUGIN_WRONG_MODEL: - splash(HZ*2, 0, true, str(LANG_PLUGIN_WRONG_MODEL)); + splash(HZ*2, true, str(LANG_PLUGIN_WRONG_MODEL)); break; default: - splash(HZ*2, 0, true, str(LANG_PLUGIN_ERROR)); + splash(HZ*2, true, str(LANG_PLUGIN_ERROR)); break; } |