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:
Tobias Stoeckmann 2023-12-05 22:45:56 +01:00 committed by Dmitry V. Levin
parent 36586fc218
commit ebf711d150

View File

@ -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)