diff options
author | Joerg Jung <jung@cvs.openbsd.org> | 2020-02-23 19:54:27 +0000 |
---|---|---|
committer | Joerg Jung <jung@cvs.openbsd.org> | 2020-02-23 19:54:27 +0000 |
commit | 6294b1dcc8c7653ebe12251b7bcac4a384c388d9 (patch) | |
tree | 720f1faebdb0ba672dc4178cbd10620844a99355 /usr.bin/dig/lib/dns/gen.c | |
parent | ec103febcdc2b88677ddccda0b04db6cfba414ba (diff) |
rmeove more unused functions and code
ok florian
Diffstat (limited to 'usr.bin/dig/lib/dns/gen.c')
-rw-r--r-- | usr.bin/dig/lib/dns/gen.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/usr.bin/dig/lib/dns/gen.c b/usr.bin/dig/lib/dns/gen.c index 74e8b612c53..3bf0813e465 100644 --- a/usr.bin/dig/lib/dns/gen.c +++ b/usr.bin/dig/lib/dns/gen.c @@ -69,26 +69,12 @@ #define COMPARETYPE "rdata1->type" #define COMPAREDEF "use_default = ISC_TRUE" -#define ADDITIONALDATAARGS "rdata, add, arg" -#define ADDITIONALDATACLASS "rdata->rdclass" -#define ADDITIONALDATATYPE "rdata->type" -#define ADDITIONALDATADEF "use_default = ISC_TRUE" - -#define DIGESTARGS "rdata, digest, arg" -#define DIGESTCLASS "rdata->rdclass" -#define DIGESTTYPE "rdata->type" -#define DIGESTDEF "use_default = ISC_TRUE" #define CHECKOWNERARGS "name, rdclass, type, wildcard" #define CHECKOWNERCLASS "rdclass" #define CHECKOWNERTYPE "type" #define CHECKOWNERDEF "result = ISC_TRUE" -#define CHECKNAMESARGS "rdata, owner, bad" -#define CHECKNAMESCLASS "rdata->rdclass" -#define CHECKNAMESTYPE "rdata->type" -#define CHECKNAMESDEF "result = ISC_TRUE" - static const char copyright[] = "/*\n" " * Copyright (C) 2004%s Internet Systems Consortium, Inc. (\"ISC\")\n" @@ -656,18 +642,9 @@ main(int argc, char **argv) { TOSTRUCTTYPE, TOSTRUCTCLASS, TOSTRUCTDEF); doswitch("FREESTRUCTSWITCH", "freestruct", FREESTRUCTARGS, FREESTRUCTTYPE, FREESTRUCTCLASS, FREESTRUCTDEF); - doswitch("ADDITIONALDATASWITCH", "additionaldata", - ADDITIONALDATAARGS, ADDITIONALDATATYPE, - ADDITIONALDATACLASS, ADDITIONALDATADEF); - doswitch("DIGESTSWITCH", "digest", - DIGESTARGS, DIGESTTYPE, - DIGESTCLASS, DIGESTDEF); doswitch("CHECKOWNERSWITCH", "checkowner", CHECKOWNERARGS, CHECKOWNERTYPE, CHECKOWNERCLASS, CHECKOWNERDEF); - doswitch("CHECKNAMESSWITCH", "checknames", - CHECKNAMESARGS, CHECKNAMESTYPE, - CHECKNAMESCLASS, CHECKNAMESDEF); /* * From here down, we are processing the rdata names and |