diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2011-06-24 05:33:42 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2011-06-24 05:33:42 +0000 |
commit | f6c353cf4397d51749b76273b87b8d05ed92ff3b (patch) | |
tree | b6709fec8127f96c81629aa56b220c599cd65251 /app/cwm/kbfunc.c | |
parent | 4e3b0b87941a7440727ec39245ecd062a558d893 (diff) |
Correct extern declaration and while here, rename a variable to be
pedantic.
from Thomas Pfaff.
ok oga@
Diffstat (limited to 'app/cwm/kbfunc.c')
-rw-r--r-- | app/cwm/kbfunc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index ecdf5edf6..3b4e6ba60 100644 --- a/app/cwm/kbfunc.c +++ b/app/cwm/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.53 2011/05/11 13:53:51 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.54 2011/06/24 05:33:41 okan Exp $ */ #include <sys/param.h> @@ -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 |