From 3ba1d1e43b1183eb3d6faa94262f114cfcea8c54 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 18 Jun 2018 11:10:42 +1000 Subject: [PATCH] fix casecompare return type for ninfo, tkey, txt --- lib/dns/rdata/generic/ninfo_56.c | 2 +- lib/dns/rdata/generic/tkey_249.c | 2 +- lib/dns/rdata/generic/txt_16.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/rdata/generic/ninfo_56.c b/lib/dns/rdata/generic/ninfo_56.c index 3f018197b2..cd088b3057 100644 --- a/lib/dns/rdata/generic/ninfo_56.c +++ b/lib/dns/rdata/generic/ninfo_56.c @@ -155,7 +155,7 @@ checknames_ninfo(ARGS_CHECKNAMES) { return (ISC_TRUE); } -static inline isc_result_t +static inline int casecompare_ninfo(ARGS_COMPARE) { return (compare_ninfo(rdata1, rdata2)); } diff --git a/lib/dns/rdata/generic/tkey_249.c b/lib/dns/rdata/generic/tkey_249.c index e08034db69..42a6e722af 100644 --- a/lib/dns/rdata/generic/tkey_249.c +++ b/lib/dns/rdata/generic/tkey_249.c @@ -549,7 +549,7 @@ checknames_tkey(ARGS_CHECKNAMES) { return (ISC_TRUE); } -static inline isc_result_t +static inline int casecompare_tkey(ARGS_COMPARE) { return (compare_tkey(rdata1, rdata2)); } diff --git a/lib/dns/rdata/generic/txt_16.c b/lib/dns/rdata/generic/txt_16.c index 2eb0e53d7f..832b72bf86 100644 --- a/lib/dns/rdata/generic/txt_16.c +++ b/lib/dns/rdata/generic/txt_16.c @@ -273,7 +273,7 @@ checknames_txt(ARGS_CHECKNAMES) { return (ISC_TRUE); } -static inline isc_result_t +static inline int casecompare_txt(ARGS_COMPARE) { return (compare_txt(rdata1, rdata2)); }