summaryrefslogtreecommitdiff
path: root/database.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-25 15:58:05 -0700
committerCarl Worth <cworth@cworth.org>2009-10-25 15:58:05 -0700
commitc7482b4dce114b1c09cbac2f4ef6d0defdb23258 (patch)
treec661798f1bfab45962f169c5c2474d56a19c8768 /database.cc
parenteb7b8cf31a8378784e97966204559f1b270ac3e9 (diff)
Add -Wmising-declarations and fix warnings.
Wow, lots of missing 'static' on internal functions.
Diffstat (limited to 'database.cc')
-rw-r--r--database.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/database.cc b/database.cc
index cd05784..e1ea324 100644
--- a/database.cc
+++ b/database.cc
@@ -519,7 +519,7 @@ notmuch_database_get_path (notmuch_database_t *notmuch)
return notmuch->path;
}
-notmuch_private_status_t
+static notmuch_private_status_t
find_timestamp_document (notmuch_database_t *notmuch, const char *db_key,
Xapian::Document *doc, unsigned int *doc_id)
{
@@ -623,7 +623,7 @@ notmuch_database_get_timestamp (notmuch_database_t *notmuch, const char *key)
*
* Otherwise, returns a newly talloced string belonging to 'ctx'.
*/
-const char *
+static const char *
_resolve_message_id_to_thread_id (notmuch_database_t *notmuch,
void *ctx,
const char *message_id)