mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
lib: constify argument to notmuch_database_status_string
We don't modify the database struct, so no harm in committing to that.
This commit is contained in:
parent
9ee29ad6f0
commit
bd5504ec10
2 changed files with 2 additions and 2 deletions
|
@ -2653,7 +2653,7 @@ notmuch_database_get_all_tags (notmuch_database_t *db)
|
|||
}
|
||||
|
||||
const char *
|
||||
notmuch_database_status_string (notmuch_database_t *notmuch)
|
||||
notmuch_database_status_string (const notmuch_database_t *notmuch)
|
||||
{
|
||||
return notmuch->status_string;
|
||||
}
|
||||
|
|
|
@ -313,7 +313,7 @@ notmuch_database_open_verbose (const char *path,
|
|||
*
|
||||
*/
|
||||
const char *
|
||||
notmuch_database_status_string (notmuch_database_t *notmuch);
|
||||
notmuch_database_status_string (const notmuch_database_t *notmuch);
|
||||
|
||||
/**
|
||||
* Commit changes and close the given notmuch database.
|
||||
|
|
Loading…
Reference in a new issue