>From cc2380e34dba0844fa0345454fd7dd5cb3a19fd3 Mon Sep 17 00:00:00 2001
From: Rodolfo García Peñas (kix) <[email protected]>
Date: Wed, 25 Jan 2012 04:50:37 +0100
Subject: [PATCH 05/24] WindowMaker: WProgramSigState is now not extern

This variable is now in WindowMaker.h and is not extern now.
---
 src/WindowMaker.h |    2 +-
 src/main.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/WindowMaker.h b/src/WindowMaker.h
index 49ddf80..ad27c36 100644
--- a/src/WindowMaker.h
+++ b/src/WindowMaker.h
@@ -447,7 +447,7 @@ typedef struct WPreferences {
 Display        *dpy;
 unsigned int ValidModMask;
 char WProgramState;
-extern char WProgramSigState;
+char WProgramSigState;
 
 
 /****** Global Functions ******/
diff --git a/src/main.c b/src/main.c
index fce01c6..073a5ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -144,7 +144,6 @@ int randr_event_base;
 #endif
 
 /* special flags */
-char WProgramSigState = 0;
 char WDelayedActionSet = 0;
 
 /* notifications */
@@ -541,6 +540,7 @@ int main(int argc, char **argv)
 
        ValidModMask = 0xff;
        WProgramState = WSTATE_NORMAL;
+       WProgramSigState = 0;
 
        /* setup common stuff for the monitor and wmaker itself */
        WMInitializeApplication("WindowMaker", &argc, argv);
-- 
1.7.2.3

-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
>From cc2380e34dba0844fa0345454fd7dd5cb3a19fd3 Mon Sep 17 00:00:00 2001
From: Rodolfo García Peñas (kix) <[email protected]>
Date: Wed, 25 Jan 2012 04:50:37 +0100
Subject: [PATCH 05/24] WindowMaker: WProgramSigState is now not extern

This variable is now in WindowMaker.h and is not extern now.
---
 src/WindowMaker.h |    2 +-
 src/main.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/WindowMaker.h b/src/WindowMaker.h
index 49ddf80..ad27c36 100644
--- a/src/WindowMaker.h
+++ b/src/WindowMaker.h
@@ -447,7 +447,7 @@ typedef struct WPreferences {
 Display	*dpy;
 unsigned int ValidModMask;
 char WProgramState;
-extern char WProgramSigState;
+char WProgramSigState;
 
 
 /****** Global Functions ******/
diff --git a/src/main.c b/src/main.c
index fce01c6..073a5ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -144,7 +144,6 @@ int randr_event_base;
 #endif
 
 /* special flags */
-char WProgramSigState = 0;
 char WDelayedActionSet = 0;
 
 /* notifications */
@@ -541,6 +540,7 @@ int main(int argc, char **argv)
 
 	ValidModMask = 0xff;
 	WProgramState = WSTATE_NORMAL;
+	WProgramSigState = 0;
 
 	/* setup common stuff for the monitor and wmaker itself */
 	WMInitializeApplication("WindowMaker", &argc, argv);
-- 
1.7.2.3

Reply via email to