From 2b7f68c03df9df33708280cf3f5e8f5eba81dda6 Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Fri, 3 Aug 2012 17:44:08 -0700 Subject: [PATCH] Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute" This reverts commit 4f1f149c3757c594f9ff987e5ddd919c3e7dba10. --- libc/include/sys/cdefs.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libc/include/sys/cdefs.h b/libc/include/sys/cdefs.h index f088e3310..987a5e3db 100644 --- a/libc/include/sys/cdefs.h +++ b/libc/include/sys/cdefs.h @@ -502,18 +502,11 @@ #include #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 -#if defined(__clang__) -#define __BIONIC_FORTIFY_INLINE \ - extern inline \ - __attribute__ ((always_inline)) \ - __attribute__ ((artificial)) -#else #define __BIONIC_FORTIFY_INLINE \ extern inline \ __attribute__ ((always_inline)) \ __attribute__ ((gnu_inline)) \ __attribute__ ((artificial)) -#endif #define __BIONIC_FORTIFY_UNKNOWN_SIZE ((size_t) -1) #endif