all repos — mgba @ 9bf6b571b121f78a6c1b0653ef0cb3267941e74f

mGBA Game Boy Advance Emulator

Fix naming
Jeffrey Pfau jeffrey@endrift.com
Mon, 30 Sep 2013 02:02:26 -0700
commit

9bf6b571b121f78a6c1b0653ef0cb3267941e74f

parent

f5bcb1eacefca867a0c93de43177a57cd3b6c2f2

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/gba/gba-thread.csrc/gba/gba-thread.c

@@ -9,13 +9,13 @@ #include <signal.h>

static pthread_key_t contextKey; -static void createTLS(void) { +static void _createTLS(void) { pthread_key_create(&contextKey, 0); } static void* _GBAThreadRun(void* context) { static pthread_once_t once = PTHREAD_ONCE_INIT; - pthread_once(&once, createTLS); + pthread_once(&once, _createTLS); struct ARMDebugger debugger; struct GBA gba;