summaryrefslogtreecommitdiffstats
path: root/lib/cleanup.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:38:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:38:58 +0000
commit54a043ffd13f3d896b58c6a9f0a4a5bb2170b9ab (patch)
tree1d8aa5f85a9450353ec3fdaaa5100f60c2d6478e /lib/cleanup.c
parentAdding debian version 2.12.0-4. (diff)
downloadman-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.c4
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;