From 0da0131096c83311b91b00bd72f05fb1902c595d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Nov 2009 18:50:13 -0800 Subject: [PATCH] database: Make _parse_message_id static once again. We had exposed this to the internal implementation for a short time, (only while we had the silly code fetching In-Reply-To values from message files instead of from the database). Make this private again as it should be. --- lib/database.cc | 2 +- lib/notmuch-private.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index 5b677d42..65478b8a 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -317,7 +317,7 @@ skip_space_and_comments (const char **str) * Returns a newly talloc'ed string belonging to 'ctx'. * * Returns NULL if there is any error parsing the message-id. */ -char * +static char * _parse_message_id (void *ctx, const char *message_id, const char **next) { const char *s, *end; diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index ddf0674a..dad7e22e 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -147,9 +147,6 @@ typedef enum _notmuch_private_status { const char * _find_prefix (const char *name); -char * -_parse_message_id (void *ctx, const char *message_id, const char **next); - /* thread.cc */ notmuch_thread_t * -- 2.26.2