about summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2011-06-24 05:33:41 +0000
committerokan <okan>2011-06-24 05:33:41 +0000
commit69cc58555de66b0ff67fd0c3880fcb70eb06f837 (patch)
tree18df65d33c4456ed8584553e40170529be3e5187 /kbfunc.c
parent89d8a14b6d0e32cffa8dab1d9ea929d1d25b30c4 (diff)
downloadcwm-69cc58555de66b0ff67fd0c3880fcb70eb06f837.tar.gz
cwm-69cc58555de66b0ff67fd0c3880fcb70eb06f837.tar.xz
cwm-69cc58555de66b0ff67fd0c3880fcb70eb06f837.zip
Correct extern declaration and while here, rename a variable to be
pedantic.

from Thomas Pfaff.

ok oga@
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbfunc.c b/kbfunc.c
index fc70bc9..a60fc33 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -35,7 +35,7 @@
 #define KNOWN_HOSTS	".ssh/known_hosts"
 #define HASH_MARKER	"|1|"
 
-extern int		_xev_quit;
+extern sig_atomic_t	xev_quit;
 
 void
 kbfunc_client_lower(struct client_ctx *cc, union arg *arg)
@@ -491,7 +491,7 @@ kbfunc_client_freeze(struct client_ctx *cc, union arg *arg)
 void
 kbfunc_quit_wm(struct client_ctx *cc, union arg *arg)
 {
-	_xev_quit = 1;
+	xev_quit = 1;
 }
 
 void