mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
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 we are at it, at missing `xext' component to the USE_XORG list. PR: 267600
15 lines
391 B
C
15 lines
391 B
C
--- ../wmgeneral/wmgeneral.h.orig 1999-06-17 06:48:13 UTC
|
|
+++ ../wmgeneral/wmgeneral.h
|
|
@@ -36,9 +36,9 @@ typedef struct {
|
|
/* Global variable */
|
|
/*******************/
|
|
|
|
-Display *display;
|
|
-Window Root, iconwin, win;
|
|
-XpmIcon wmgen;
|
|
+extern Display *display;
|
|
+extern Window Root, iconwin, win;
|
|
+extern XpmIcon wmgen;
|
|
|
|
/***********************/
|
|
/* Function Prototypes */
|