mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
lib/{open,message}: make some internal functions static
They are not used outside their file, so being extern seems like an oversight
This commit is contained in:
parent
87234a8ef3
commit
b0a11dbc38
2 changed files with 3 additions and 3 deletions
|
@ -742,7 +742,7 @@ _notmuch_message_remove_terms (notmuch_message_t *message, const char *prefix)
|
|||
* properties, along with any automatic tags*/
|
||||
/* According to Xapian API docs, none of these calls throw
|
||||
* exceptions */
|
||||
notmuch_private_status_t
|
||||
static notmuch_private_status_t
|
||||
_notmuch_message_remove_indexed_terms (notmuch_message_t *message)
|
||||
{
|
||||
Xapian::TermIterator i;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue