X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=conf.c;h=889bda6e4327839927c022626a816a186b61274b;hb=a3a2c5e71711482dfce333a6a8b5724f3c5f84bf;hp=407165546c72e4c83c8234672753aef4bac011f7;hpb=b04686f8b7197c2869b6207c5162b2fb1521cbb4;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;