I find myself always appending the name of the enum, to its values, because else I often have conflicts with other enums, for example:
typedef enum
{
A_ONE,
A_TWO,
} A;
typedef enum
{
B_ONE,
B_TWO,
} B;
Is there a nicer way to do this in C?