aboutsummaryrefslogtreecommitdiff
path: root/lib/open.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-05-23 21:08:28 -0300
committerDavid Bremner <david@tethera.net>2021-06-05 15:40:00 -0300
commitb0a11dbc3822271e948f625ca326e86ff68f2e57 (patch)
treeb69c75badf176f5cd0e98d281bf2d06aa9501f61 /lib/open.cc
parent87234a8ef3aed65f131348388c36799f1741e327 (diff)
lib/{open,message}: make some internal functions static
They are not used outside their file, so being extern seems like an oversight
Diffstat (limited to 'lib/open.cc')
-rw-r--r--lib/open.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/open.cc b/lib/open.cc
index 1ca69665..72f1232c 100644
--- a/lib/open.cc
+++ b/lib/open.cc
@@ -242,7 +242,7 @@ _choose_database_path (void *ctx,
return NOTMUCH_STATUS_SUCCESS;
}
-notmuch_database_t *
+static notmuch_database_t *
_alloc_notmuch ()
{
notmuch_database_t *notmuch;
@@ -755,7 +755,7 @@ notmuch_database_reopen (notmuch_database_t *notmuch,
return NOTMUCH_STATUS_SUCCESS;
}
-notmuch_status_t
+static notmuch_status_t
_maybe_load_config_from_database (notmuch_database_t *notmuch,
GKeyFile *key_file,
const char *database_path,