X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=message.cc;h=5922cfccff1ae7464df8f78bf0d4da248c19b89f;hp=75ec63492fd91e94056a72ad6f28725d73772b24;hb=c7482b4dce114b1c09cbac2f4ef6d0defdb23258;hpb=eb7b8cf31a8378784e97966204559f1b270ac3e9 diff --git a/message.cc b/message.cc index 75ec6349..5922cfcc 100644 --- a/message.cc +++ b/message.cc @@ -310,7 +310,7 @@ _notmuch_terms_destructor (notmuch_terms_t *terms) return 0; } -notmuch_terms_t * +static notmuch_terms_t * _notmuch_terms_create (void *ctx, Xapian::Document doc, const char *prefix_name) @@ -526,7 +526,7 @@ notmuch_message_destroy (notmuch_message_t *message) talloc_free (message); } -notmuch_bool_t +static notmuch_bool_t _notmuch_terms_has_more (notmuch_terms_t *terms) { std::string s; @@ -541,19 +541,19 @@ _notmuch_terms_has_more (notmuch_terms_t *terms) return FALSE; } -const char * +static const char * _notmuch_terms_get (notmuch_terms_t *terms) { return talloc_strdup (terms, (*terms->iterator).c_str () + 1); } -void +static void _notmuch_terms_advance (notmuch_terms_t *terms) { terms->iterator++; } -void +static void _notmuch_terms_destroy (notmuch_terms_t *terms) { talloc_free (terms);