diff options
| author | Jani Nikula <jani@nikula.org> | 2017-10-07 11:44:05 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-10-09 22:27:16 -0300 |
| commit | 008a5e92eb157e2bb8622cb2fbf644deba5ba4b4 (patch) | |
| tree | 12c403226e076d230ac54fa59c98726fcafefb38 /lib/database-private.h | |
| parent | 0f314c0c99befea599a68bea51d759b4133efef6 (diff) | |
lib: convert notmuch_bool_t to stdbool internally
C99 stdbool turned 18 this year. There really is no reason to use our
own, except in the library interface for backward
compatibility. Convert the lib internally to stdbool.
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index 5555554b..a499b259 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -179,14 +179,14 @@ operator&(notmuch_field_flag_t a, notmuch_field_flag_t b) Xapian::QueryParser::FLAG_PURE_NOT) struct _notmuch_database { - notmuch_bool_t exception_reported; + bool exception_reported; char *path; notmuch_database_mode_t mode; int atomic_nesting; - /* TRUE if changes have been made in this atomic section */ - notmuch_bool_t atomic_dirty; + /* true if changes have been made in this atomic section */ + bool atomic_dirty; Xapian::Database *xapian_db; /* Bit mask of features used by this database. This is a |
