From 1afa395c2fe08ed937dbb0624ade48e46be87efe Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 8 Jan 2004 09:58:58 +0000 Subject: 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 --- apps/plugin.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/plugin.c') 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; } -- cgit v1.1