]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Change the placement of ctor/dtor attributes in the dst_api
authorOndřej Surý <ondrej@isc.org>
Mon, 12 Aug 2024 09:55:13 +0000 (11:55 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 14 Aug 2024 15:30:18 +0000 (15:30 +0000)
Change the placement of the attributes to match the existing usage in
other places (after the declaration).

lib/dns/dst_api.c

index 8144f4bed96d9f13ef417296b2db6bbaeffa6dac..a60b7fd61a720ff1b7b15b8e503c3ab69d8a240f 100644 (file)
@@ -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) {