From: Carl Worth Date: Wed, 18 Nov 2009 02:50:13 +0000 (-0800) Subject: database: Make _parse_message_id static once again. X-Git-Tag: 0.1~461 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0da0131096c83311b91b00bd72f05fb1902c595d;p=notmuch.git 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. --- 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 *