aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-17 18:50:13 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-17 18:50:13 -0800
commit0da0131096c83311b91b00bd72f05fb1902c595d (patch)
tree8be0eb2c98e86bdd27ca7f7e616a4bf522364512 /lib
parentc50891f449269b7c6f235c510a472be832b95cc1 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/database.cc2
-rw-r--r--lib/notmuch-private.h3
2 files changed, 1 insertions, 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 *