From 24f1a0777ee14302850433b58e466443bf63b3b2 Mon Sep 17 00:00:00 2001 From: waltje Date: Sat, 28 Oct 2017 00:52:34 -0400 Subject: [PATCH] Fix for weird compiler warning. --- src/video/video.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/video/video.h b/src/video/video.h index 13fa9bb5c..c0e9a672f 100644 --- a/src/video/video.h +++ b/src/video/video.h @@ -6,6 +6,10 @@ #define makecol32(r, g, b) ((b) | ((g) << 8) | ((r) << 16)) +#ifdef __cplusplus +extern "C" { +#endif + enum { FULLSCR_SCALE_FULL = 0, FULLSCR_SCALE_43, @@ -68,10 +72,6 @@ extern int emu_fps, extern int readflash; -#ifdef __cplusplus -extern "C" { -#endif - /* Function handler pointers. */ extern void (*video_recalctimings)(void);