From 23904c474068dc3a85f4556c5ea908d78bc6940c Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 8 Jul 2012 17:29:09 +0200 Subject: [PATCH] Only build in start/stop/restart on RARCH_CONSOLE. --- gfx/null.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/null.c b/gfx/null.c index bcc44bcbaa..e66e29fd9c 100644 --- a/gfx/null.c +++ b/gfx/null.c @@ -62,9 +62,11 @@ static void null_gfx_free(void *data) (void)data; } +#ifdef RARCH_CONSOLE static void null_gfx_start(void) {} static void null_gfx_restart(void) {} static void null_gfx_stop(void) {} +#endif const video_driver_t video_null = { null_gfx_init, @@ -75,6 +77,7 @@ const video_driver_t video_null = { NULL, null_gfx_free, "null", + #ifdef RARCH_CONSOLE null_gfx_start, null_gfx_stop,