aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gfx_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gfx_linux.h')
-rw-r--r--src/gos/gfx_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gfx_linux.h b/src/gos/gfx_linux.h
index 9ead9c0e..bd31184e 100644
--- a/src/gos/gfx_linux.h
+++ b/src/gos/gfx_linux.h
@@ -34,7 +34,6 @@ typedef pthread_mutex_t gfxMutex;
#define gfxRealloc(p,osz,nsz) realloc(p, nsz)
#define gfxFree(ptr) free(ptr)
#define gfxMillisecondsToTicks(ms) (ms)
-#define gfxYield() pthread_yield()
#define gfxThreadMe() pthread_self()
#define gfxThreadClose(th) (void)th
#define gfxMutexInit(pmtx) pthread_mutex_init(pmtx, 0)
@@ -67,6 +66,7 @@ typedef struct gfxSem {
extern "C" {
#endif
+void gfxYield(void);
void gfxHalt(const char *msg);
void gfxSleepMilliseconds(delaytime_t ms);
void gfxSleepMicroseconds(delaytime_t ms);