tree-wide: use gcc attribute macros where appropriate

We have these macros already, hence use them.
This commit is contained in:
Lennart Poettering
2018-12-03 13:28:26 +01:00
parent 7934dede41
commit d34dae1817
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ static const struct hashmap_type_info hashmap_type_info[_HASHMAP_TYPE_MAX] = {
};
#if VALGRIND
__attribute__((destructor)) static void cleanup_pools(void) {
_destructor_ static void cleanup_pools(void) {
_cleanup_free_ char *t = NULL;
int r;