summaryrefslogtreecommitdiff
path: root/tests/xalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xalloc.h')
-rw-r--r--tests/xalloc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/xalloc.h b/tests/xalloc.h
index 2a51b840..c419a2de 100644
--- a/tests/xalloc.h
+++ b/tests/xalloc.h
@@ -36,12 +36,6 @@ extern "C" {
#endif
-#if __GNUC__ >= 3
-# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
-#else
-# define _GL_ATTRIBUTE_MALLOC
-#endif
-
#if ! defined __clang__ && \
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))