diff options
| author | 2020-01-21 08:06:56 +0000 | |
|---|---|---|
| committer | 2020-01-21 08:06:56 +0000 | |
| commit | f580474d4c6a2bf47c5e96275baf29a4a4c50d44 (patch) | |
| tree | 7b5515c180a71b6c97bb824c08bafe302782af70 /usr.sbin/bind/lib/isccfg/parser.c | |
| parent | pass SSH_SK_HELPER explicitly past $SUDO to avoid it getting cleared; (diff) | |
| download | wireguard-openbsd-f580474d4c6a2bf47c5e96275baf29a4a4c50d44.tar.xz wireguard-openbsd-f580474d4c6a2bf47c5e96275baf29a4a4c50d44.zip | |
Get rid of isccfg/log.c by pulling in the tiny bits needed into
parser.c. One less conflicting .o file generated.
OK deraadt
Diffstat (limited to 'usr.sbin/bind/lib/isccfg/parser.c')
| -rw-r--r-- | usr.sbin/bind/lib/isccfg/parser.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/bind/lib/isccfg/parser.c b/usr.sbin/bind/lib/isccfg/parser.c index cae99bfa0d8..18c49812526 100644 --- a/usr.sbin/bind/lib/isccfg/parser.c +++ b/usr.sbin/bind/lib/isccfg/parser.c @@ -37,11 +37,14 @@ #include <isccfg/cfg.h> #include <isccfg/grammar.h> -#include <isccfg/log.h> + + +isc_logcategory_t cfg_category = { "config", 0 }; +isc_logmodule_t cfg_module = { "isccfg/parser", 0 }; /* Shorthand */ -#define CAT CFG_LOGCATEGORY_CONFIG -#define MOD CFG_LOGMODULE_PARSER +#define CAT &cfg_category +#define MOD &cfg_module #define MAP_SYM 1 /* Unique type for isc_symtab */ |
