diff options
author | Jani Nikula <jani@nikula.org> | 2017-10-07 11:44:04 +0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2017-10-09 22:24:02 -0300 |
commit | 0f314c0c99befea599a68bea51d759b4133efef6 (patch) | |
tree | 6d7fa97122e87bf6dcdb221267ac052f48331f59 /notmuch-restore.c | |
parent | 54aef071590cb23f61da943daa29080cf7446696 (diff) |
cli: convert notmuch_bool_t to stdbool
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 cli and test binaries to stdbool.
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r-- | notmuch-restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c index 0025e2c3..dee19c20 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -211,7 +211,7 @@ parse_sup_line (void *ctx, char *line, tok_len++; } - if (tag_op_list_append (tag_ops, tok, FALSE)) + if (tag_op_list_append (tag_ops, tok, false)) return -1; } @@ -223,7 +223,7 @@ int notmuch_restore_command (notmuch_config_t *config, int argc, char *argv[]) { notmuch_database_t *notmuch; - notmuch_bool_t accumulate = FALSE; + bool accumulate = false; tag_op_flag_t flags = 0; tag_op_list_t *tag_ops; |