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 --- src/mandb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mandb.c') diff --git a/src/mandb.c b/src/mandb.c index 07ea923..467a944 100644 --- a/src/mandb.c +++ b/src/mandb.c @@ -330,7 +330,7 @@ static void dbpaths_init (struct dbpaths *dbpaths, #endif /* NDBM */ } -static int dbpaths_copy_to_tmp (struct dbpaths *dbpaths) +static int dbpaths_copy_to_tmp (const struct dbpaths *dbpaths) { #ifdef NDBM # ifdef BERKELEY_DB @@ -346,7 +346,7 @@ static int dbpaths_copy_to_tmp (struct dbpaths *dbpaths) #endif /* NDBM */ } -static void dbpaths_remove_tmp (struct dbpaths *dbpaths) +static void dbpaths_remove_tmp (const struct dbpaths *dbpaths) { #ifdef NDBM # ifdef BERKELEY_DB @@ -403,7 +403,7 @@ static void dbpaths_chown_if_possible (struct dbpaths *dbpaths) #endif /* MAN_OWNER */ /* Remove incomplete databases. This is async-signal-safe. */ -static void dbpaths_unlink_tmp (struct dbpaths *dbpaths) +static void dbpaths_unlink_tmp (const struct dbpaths *dbpaths) { #ifdef NDBM # ifdef BERKELEY_DB -- cgit v1.2.3