X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/fwd/blobdiff_plain/367d81afe3d72b6bc1519d2ae2187a6535370025..45f51d2fdfbf51e42d209a149157bda07caa8ebf:/fwd.c diff --git a/fwd.c b/fwd.c index d086ed3..0455bc4 100644 --- a/fwd.c +++ b/fwd.c @@ -29,6 +29,7 @@ /*----- Global variables --------------------------------------------------*/ sel_state *sel; /* Multiplexor for nonblocking I/O */ +unsigned flags = 0; /* Global state flags */ /*----- Static variables --------------------------------------------------*/ @@ -37,14 +38,9 @@ typedef struct conffile { char *name; } conffile; -static unsigned flags = 0; /* Global state flags */ static unsigned active = 0; /* Number of active things */ static conffile *conffiles = 0; /* List of configuration files */ -#define FW_SYSLOG 1u -#define FW_QUIET 2u -#define FW_SET 4u - /*----- Configuration parsing ---------------------------------------------*/ /* --- @parse@ --- *