fix: 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).

Merge branch 'ondrej/ISC_CONSTRUCTOR-style' into 'main'

See merge request isc-projects/bind9!9291
This commit is contained in:
Ondřej Surý
2024-08-14 16:21:08 +00:00

View 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) {