mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
14df860062
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). While here, define LICENSE, add missing USE_XORG components, and fix -Wformat-security warnings, adding newline to printed error messages for clarity and better look. PR: 267587
11 lines
187 B
C
11 lines
187 B
C
--- wmgeneral.c.orig 2003-12-02 16:45:19 UTC
|
|
+++ wmgeneral.c
|
|
@@ -55,6 +55,7 @@
|
|
/* X11 Variables */
|
|
/*****************/
|
|
|
|
+Display *display;
|
|
Window Root;
|
|
int screen;
|
|
int x_fd;
|