summaryrefslogtreecommitdiffstats
path: root/src/mandb.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:38:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:38:57 +0000
commitf5b6b735a731901f09d7f3cc153c1d869269ee83 (patch)
tree565a1b0f3c6a4094a5f2198879fb239053549f1e /src/mandb.c
parentAdding upstream version 2.12.0. (diff)
downloadman-db-f5b6b735a731901f09d7f3cc153c1d869269ee83.tar.xz
man-db-f5b6b735a731901f09d7f3cc153c1d869269ee83.zip
Adding upstream version 2.12.1.upstream/2.12.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/mandb.c')
-rw-r--r--src/mandb.c6
1 files changed, 3 insertions, 3 deletions
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