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);