freebsd-ports/x11-wm/oroborus/files/patch-src_hints.c
Alexey Dokuchaev 0299bb02ff Ensure that there is only one variable definition per each object, as
the C (and C++) standards mandated for years and compilers started to
enforce as of recently (Clang 11, GCC 10).

Reported by:	pkg-fallout
2020-09-01 09:08:27 +00:00

11 lines
341 B
C

--- src/hints.c.orig 2006-01-12 15:40:43 UTC
+++ src/hints.c
@@ -43,7 +43,7 @@ Atom win_hints, win_state, win_client_list, win_layer,
win_workspace_count, win_desktop_button_proxy, win_supporting_wm_check,
gnome_panel_desktop_area;
Atom net_atoms[NET_ATOM_COUNT];
-Display *dpy;
+extern Display *dpy;
void
initHints (Display * d)