From 24a25ffba98c1c34d92cefb9e23dd44e3be76126 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Nov 2009 11:02:33 -0800 Subject: Remove the talloc_owner argument from create_for_message_id. This function has only one caller, and that one caller was passing the same value for both talloc_owner and the notmuch database. Dropping the redundant argument simplifies the documentation of this function considerably. --- lib/notmuch-private.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/notmuch-private.h') diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 6036ce4a..c398c80a 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -167,8 +167,7 @@ _notmuch_message_create (const void *talloc_owner, notmuch_private_status_t *status); notmuch_message_t * -_notmuch_message_create_for_message_id (const void *talloc_owner, - notmuch_database_t *notmuch, +_notmuch_message_create_for_message_id (notmuch_database_t *notmuch, const char *message_id, notmuch_private_status_t *status); -- cgit v1.2.3