mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-24 02:03:39 +08:00
libpam_misc: use sig_atomic_t instead of int
Technically it's identical on pretty much all available systems, but let's follow C specifications. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
parent
36586fc218
commit
ebf711d150
@ -56,7 +56,7 @@ void (*pam_binary_handler_free)(void *appdata, pamc_bp_t *prompt_p)
|
||||
|
||||
/* the following code is used to get text input */
|
||||
|
||||
static volatile int expired=0;
|
||||
static volatile sig_atomic_t expired=0;
|
||||
|
||||
/* return to the previous signal handling */
|
||||
static void reset_alarm(struct sigaction *o_ptr)
|
||||
|
Loading…
Reference in New Issue
Block a user