diff options
Diffstat (limited to 'src/malloc.h')
-rw-r--r-- | src/malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.h b/src/malloc.h index 264dd48..c4ebcc8 100644 --- a/src/malloc.h +++ b/src/malloc.h @@ -41,6 +41,6 @@ void* ca_memdup(const void* p, size_t size); #define ca_new0(t, n) ((t*) ca_malloc0(sizeof(t)*(n))) #define ca_newdup(t, p, n) ((t*) ca_memdup(p, sizeof(t)*(n))) -char *ca_sprintf_malloc(const char *format, ...) CA_GCC_PRINTF_ATTR(1,2); +char *ca_sprintf_malloc(const char *format, ...) __attribute__((format(printf, 1, 2))); #endif |