Changed a static function to match the naming scheme of rest of source file.
--HG-- extra : rebase_source : c02852c909b15b41da3d359afb6e1adc861f150f
This commit is contained in:
parent
0b4ff9fb3e
commit
bebcfc0677
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ static unsigned int screensaver_cookie = 0;
|
||||||
static SDL_DBusContext dbus = {0};
|
static SDL_DBusContext dbus = {0};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
load_dbus_syms(void)
|
LoadDBUSSyms(void)
|
||||||
{
|
{
|
||||||
#define SDL_DBUS_SYM2(x, y) \
|
#define SDL_DBUS_SYM2(x, y) \
|
||||||
if (!(dbus.x = SDL_LoadFunction(dbus_handle, #y))) return -1
|
if (!(dbus.x = SDL_LoadFunction(dbus_handle, #y))) return -1
|
||||||
|
@ -95,7 +95,7 @@ LoadDBUSLibrary(void)
|
||||||
retval = -1;
|
retval = -1;
|
||||||
/* Don't call SDL_SetError(): SDL_LoadObject already did. */
|
/* Don't call SDL_SetError(): SDL_LoadObject already did. */
|
||||||
} else {
|
} else {
|
||||||
retval = load_dbus_syms();
|
retval = LoadDBUSSyms();
|
||||||
if (retval < 0) {
|
if (retval < 0) {
|
||||||
UnloadDBUSLibrary();
|
UnloadDBUSLibrary();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue