diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index c69504e81..3d5405221 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -91,8 +91,6 @@ enum atom_name { ATOM_LAST // keep last }; -extern const char *const atom_map[ATOM_LAST]; - struct wlr_xwm { struct wlr_xwayland *xwayland; struct wl_event_source *event_source; diff --git a/xwayland/xwm.c b/xwayland/xwm.c index ac615ffe7..4d40f7404 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -19,7 +19,7 @@ #include #include "xwayland/xwm.h" -const char *const atom_map[ATOM_LAST] = { +static const char *const atom_map[ATOM_LAST] = { [WL_SURFACE_ID] = "WL_SURFACE_ID", [WL_SURFACE_SERIAL] = "WL_SURFACE_SERIAL", [WM_DELETE_WINDOW] = "WM_DELETE_WINDOW",