Use wrappers from macros.h instead of bare GCC attributes/pragmas

This commit is contained in:
Craig Barnes 2021-01-03 08:56:47 +00:00
parent 2559a9711c
commit 39b2e46e72
4 changed files with 17 additions and 15 deletions

View file

@ -80,7 +80,7 @@ render_destroy(struct renderer *renderer)
free(renderer);
}
static void __attribute__((destructor))
static void DESTRUCTOR
log_presentation_statistics(void)
{
if (presentation_statistics.total == 0)