about summary refs log tree commit diff
path: root/misc/sys/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/cdefs.h')
-rw-r--r--misc/sys/cdefs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 7db057560d..0a5f65e312 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -138,15 +138,15 @@
 
 # define __attribute__(xyz)	/* Ignore */
 
+#endif
+
 /* At some point during the gcc 2.96 development the `malloc' attribute
    for functions was introduced.  We don't want to use it unconditionally
    (although this would be possible) since it generates warnings.  */
-# if __GNUC_PREREQ (2,96)
-#  define __attribute_malloc__ __attribute__ ((__malloc__))
-# else
-#  define __attribute_malloc__ /* Ignore */
-# endif
-
+#if __GNUC_PREREQ (2,96)
+# define __attribute_malloc__ __attribute__ ((__malloc__))
+#else
+# define __attribute_malloc__ /* Ignore */
 #endif
 
 /* It is possible to compile containing GCC extensions even if GCC is