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
12 lines
251 B
C
12 lines
251 B
C
--- wmgeneral.h.orig 2003-12-02 16:45:19 UTC
|
|
+++ wmgeneral.h
|
|
@@ -36,7 +36,7 @@ typedef struct {
|
|
/* Global variable */
|
|
/*******************/
|
|
|
|
-Display *display;
|
|
+extern Display *display;
|
|
|
|
/***********************/
|
|
/* Function Prototypes */
|