diff --git a/gfx/common/x11_common.c b/gfx/common/x11_common.c index a481c586fd..97ed6cdaec 100644 --- a/gfx/common/x11_common.c +++ b/gfx/common/x11_common.c @@ -30,7 +30,7 @@ static Atom XA_NET_WM_STATE; static Atom XA_NET_WM_STATE_FULLSCREEN; static Atom XA_NET_MOVERESIZE_WINDOW; Atom g_x11_quit_atom; -volatile sig_atomic_t g_x11_quit; +static volatile sig_atomic_t g_x11_quit; bool g_x11_has_focus; Window g_x11_win; XIC g_x11_xic; diff --git a/gfx/common/x11_common.h b/gfx/common/x11_common.h index 8d35680ebe..64d4f7a4fc 100644 --- a/gfx/common/x11_common.h +++ b/gfx/common/x11_common.h @@ -36,7 +36,6 @@ #include "../video_context_driver.h" extern Atom g_x11_quit_atom; -extern volatile sig_atomic_t g_x11_quit; extern bool g_x11_has_focus; extern Window g_x11_win; extern XIC g_x11_xic;