]> git.notmuchmail.org Git - notmuch/commitdiff
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)
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;


No differences found