From 97c91f688fa8f8d67bbe2e0aa0feb912fc3c00ef Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 23 Apr 2006 12:08:37 +1000 Subject: - djm@cvs.openbsd.org 2006/04/20 09:27:09 [auth.h clientloop.c dispatch.c dispatch.h kex.h] replace the last non-sig_atomic_t flag used in a signal handler with a sig_atomic_t, unfortunately with some knock-on effects in other (non- signal) contexts in which it is used; ok markus@ --- auth.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth.h') diff --git a/auth.h b/auth.h index c69de34e..adbfdd2e 100644 --- a/auth.h +++ b/auth.h @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.h,v 1.52 2006/03/25 22:22:42 djm Exp $ */ +/* $OpenBSD: auth.h,v 1.53 2006/04/20 09:27:09 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -48,7 +48,7 @@ typedef struct Authmethod Authmethod; typedef struct KbdintDevice KbdintDevice; struct Authctxt { - int success; + sig_atomic_t success; int postponed; /* authentication needs another step */ int valid; /* user exists and is allowed to login */ int attempt; -- cgit v1.2.3