# HG changeset patch # User Mike Becker # Date 1736078341 -3600 # Node ID b03aee2cbb7fa1ae933da3bb89b666c00c8d37c9 # Parent 7c1e322b9165ded93402a897e23695ac5693d57d remove unused attributes diff -r 7c1e322b9165 -r b03aee2cbb7f src/allocator.c --- a/src/allocator.c Sun Jan 05 12:41:43 2025 +0100 +++ b/src/allocator.c Sun Jan 05 12:59:01 2025 +0100 @@ -30,7 +30,6 @@ #include -__attribute__((__malloc__, __alloc_size__(2))) static void *cx_malloc_stdlib( cx_attr_unused void *d, size_t n @@ -38,7 +37,6 @@ return malloc(n); } -__attribute__((__warn_unused_result__, __alloc_size__(3))) static void *cx_realloc_stdlib( cx_attr_unused void *d, void *mem, @@ -47,7 +45,6 @@ return realloc(mem, n); } -__attribute__((__malloc__, __alloc_size__(2, 3))) static void *cx_calloc_stdlib( cx_attr_unused void *d, size_t nelem, @@ -56,7 +53,6 @@ return calloc(nelem, n); } -__attribute__((__nonnull__)) static void cx_free_stdlib( cx_attr_unused void *d, void *mem