Changed a static function to match the naming scheme of rest of source file.

main
Ryan C. Gordon 2015-06-01 01:25:22 -04:00
parent cad269bc27
commit 36ecb766c8
1 changed files with 2 additions and 2 deletions

View File

@ -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();
} }