mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Changed a static function to match the naming scheme of rest of source file.
This commit is contained in:
parent
cad269bc27
commit
36ecb766c8
@ -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…
Reference in New Issue
Block a user