diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:38:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:38:57 +0000 |
commit | f5b6b735a731901f09d7f3cc153c1d869269ee83 (patch) | |
tree | 565a1b0f3c6a4094a5f2198879fb239053549f1e /lib/cleanup.c | |
parent | Adding upstream version 2.12.0. (diff) | |
download | man-db-4f7a434e7e8e6c9e616306e3c452a812bc4b6019.tar.xz man-db-4f7a434e7e8e6c9e616306e3c452a812bc4b6019.zip |
Adding upstream version 2.12.1.upstream/2.12.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/cleanup.c')
-rw-r--r-- | lib/cleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |