X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=conf.c;h=889bda6e4327839927c022626a816a186b61274b;hb=03d160e26087aff9d0739e85a9127f70c8eca39e;hp=407165546c72e4c83c8234672753aef4bac011f7;hpb=33194e81b7543a4019d71c9a8c183e3500e1e994;p=wmpus diff --git a/conf.c b/conf.c index 4071655..889bda6 100644 --- a/conf.c +++ b/conf.c @@ -23,10 +23,11 @@ #include "conf.h" /* Types */ -typedef enum { NUMBER, STRING } type_t; - typedef struct { - type_t type; + enum { + NUMBER, + STRING, + } type; char *key; union { int num;