From 7826664969f077342e098a1679faadf2b0b590d5 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 4 Mar 2017 17:35:17 +1000 Subject: Make the uGFXMain() prototype always available --- src/gfx.c | 3 --- src/gos/gos_freertos.c | 2 -- 2 files changed, 5 deletions(-) (limited to 'src') diff --git a/src/gfx.c b/src/gfx.c index e35bcd3d..dac9e470 100644 --- a/src/gfx.c +++ b/src/gfx.c @@ -78,9 +78,6 @@ extern void _gosDeinit(void); extern void _gtransInit(void); extern void _gtransDeinit(void); #endif -#if GFX_OS_CALL_UGFXMAIN - extern void uGFXMain(void); -#endif void gfxInit(void) { diff --git a/src/gos/gos_freertos.c b/src/gos/gos_freertos.c index 93696581..414b0bab 100644 --- a/src/gos/gos_freertos.c +++ b/src/gos/gos_freertos.c @@ -38,8 +38,6 @@ void _gosInit(void) } #if !GFX_OS_NO_INIT && GFX_OS_CALL_UGFXMAIN - extern void uGFXMain(void); - static DECLARE_THREAD_FUNCTION(startUGFX_FreeRTOS, p) { (void) p; uGFXMain(); -- cgit v1.2.3