]> git.notmuchmail.org Git - notmuch/commitdiff
database: Make _parse_message_id static once again.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 02:50:13 +0000 (18:50 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 02:50:13 +0000 (18:50 -0800)
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
lib/notmuch-private.h

index 5b677d42007fcae27e2632701d2c4073a664e44b..65478b8a30c4ec217c293c95675d0090afa25dba 100644 (file)
@@ -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. */
  * 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;
 _parse_message_id (void *ctx, const char *message_id, const char **next)
 {
     const char *s, *end;
index ddf0674aa9adc61cd61ec43fa4557808b9100589..dad7e22e52689079ac53658fb327a489b333eff5 100644 (file)
@@ -147,9 +147,6 @@ typedef enum _notmuch_private_status {
 const char *
 _find_prefix (const char *name);
 
 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 *
 /* thread.cc */
 
 notmuch_thread_t *