]> git.notmuchmail.org Git - notmuch/commit
cli: remove enum names from typedefs
authorJani Nikula <jani@nikula.org>
Wed, 13 Oct 2021 14:02:17 +0000 (17:02 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 23 Oct 2021 11:39:16 +0000 (08:39 -0300)
commitf316f7ef6af98b8f89f094dde24e36b837b3c5f2
treeb7940fd85fbd42e4e1fc9129fccde93b109f2471
parent6987286a5b562709c1de583db66673c202fd926c
cli: remove enum names from typedefs

There are some enum typedefs with the enum name:

    typedef enum _name_t { ... } name_t;

We don't need or use the enum names _name_t for anything, and not all
of the enum typedefs have them. We have the typedefs specifically to
use the typedef name.

Use the anonymous enum in the typedefs:

    typedef enum { ... } name_t;
notmuch-client.h
util/hex-escape.h