diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-17 11:02:33 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-17 17:42:32 -0800 |
commit | 24a25ffba98c1c34d92cefb9e23dd44e3be76126 (patch) | |
tree | 5206caf6ca1739a2f8a2042057c5a98da1358425 /lib/notmuch-private.h | |
parent | 387828c4356416278fdac8446c904fe4c5ad283d (diff) |
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.
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r-- | lib/notmuch-private.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |