From 6a2fc9a647b1c674cad841e5eef5dc0a4b7dbd1f Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 17 Nov 2013 20:23:41 +1000 Subject: Better definitions for null functions in the GOS layer --- include/gos/linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/gos/linux.h') diff --git a/include/gos/linux.h b/include/gos/linux.h index 508b2b68..f8b049e9 100644 --- a/include/gos/linux.h +++ b/include/gos/linux.h @@ -41,7 +41,7 @@ typedef pthread_mutex_t gfxMutex; #define gfxMillisecondsToTicks(ms) (ms) #define gfxYield() pthread_yield() #define gfxThreadMe() pthread_self() -#define gfxThreadClose(th) {} +#define gfxThreadClose(th) (void)th #define gfxMutexInit(pmtx) pthread_mutex_init(pmtx, 0) #define gfxMutexDestroy(pmtx) pthread_mutex_destroy(pmtx) #define gfxMutexEnter(pmtx) pthread_mutex_lock(pmtx) -- cgit v1.2.3