From 54a043ffd13f3d896b58c6a9f0a4a5bb2170b9ab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:38:58 +0200 Subject: Merging upstream version 2.12.1. Signed-off-by: Daniel Baumann --- lib/cleanup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/cleanup.c') diff --git a/lib/cleanup.c b/lib/cleanup.c index 02bef2a..58749f2 100644 --- a/lib/cleanup.c +++ b/lib/cleanup.c @@ -125,7 +125,7 @@ trap_abnormal_exits (void) /* Restore signo's action from oldact if its current handler is sighandler, return 0 on success, -1 on failure. */ static int -untrap_signal (int signo, struct sigaction *oldact) +untrap_signal (int signo, const struct sigaction *oldact) { struct sigaction act; if (sigaction (signo, NULL, &act)) { @@ -251,7 +251,7 @@ push_cleanup (cleanup_fun fun, void *arg, int sigsafe) * given values. */ void -pop_cleanup (cleanup_fun fun, void *arg) +pop_cleanup (cleanup_fun fun, const void *arg) { unsigned i, j; -- cgit v1.2.3