diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:38:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:38:58 +0000 |
commit | 54a043ffd13f3d896b58c6a9f0a4a5bb2170b9ab (patch) | |
tree | 1d8aa5f85a9450353ec3fdaaa5100f60c2d6478e /lib/cleanup.c | |
parent | Adding debian version 2.12.0-4. (diff) | |
download | man-db-54a043ffd13f3d896b58c6a9f0a4a5bb2170b9ab.tar.xz man-db-54a043ffd13f3d896b58c6a9f0a4a5bb2170b9ab.zip |
Merging upstream version 2.12.1.
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; |