From: Ondřej Surý Date: Mon, 12 Aug 2024 09:55:13 +0000 (+0200) Subject: Change the placement of ctor/dtor attributes in the dst_api X-Git-Tag: v9.21.1~49^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d00ff78a3e27395eb3ceb82829876ba0159403ef;p=thirdparty%2Fbind9.git Change the placement of ctor/dtor attributes in the dst_api Change the placement of the attributes to match the existing usage in other places (after the declaration). --- diff --git a/lib/dns/dst_api.c b/lib/dns/dst_api.c index 8144f4bed96..a60b7fd61a7 100644 --- a/lib/dns/dst_api.c +++ b/lib/dns/dst_api.c @@ -189,10 +189,10 @@ addsuffix(char *filename, int len, const char *dirname, const char *ofilename, static isc_mem_t *dst__mctx = NULL; -void ISC_CONSTRUCTOR -dst__lib_init(void); -void ISC_DESTRUCTOR -dst__lib_destroy(void); +void +dst__lib_init(void) ISC_CONSTRUCTOR; +void +dst__lib_destroy(void) ISC_DESTRUCTOR; void dst__lib_init(void) {