]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blobdiff - libc/include/sys/cdefs.h
Remove more BSD cruft from the public headers.
[android-sdk/platform-bionic.git] / libc / include / sys / cdefs.h
index 6f238a93d728d313eb1a632925f1a1e10a0b40c7..21d59fa57a87789eab19625a28eac5ab90390b8c 100644 (file)
@@ -77,7 +77,9 @@
 #define        __GNUC_PREREQ(x, y)     0
 #endif
 
-#include <sys/cdefs_elf.h>
+#define __strong_alias(alias, sym) \
+    __asm__(".global " #alias "\n" \
+            #alias " = " #sym);
 
 #if defined(__cplusplus)
 #define        __BEGIN_DECLS           extern "C" {
 #endif
 #endif /* !(__STDC_VERSION__ >= 199901L) */
 
-#if defined(_KERNEL)
-#if defined(NO_KERNEL_RCSIDS)
-#undef __KERNEL_RCSID
-#define        __KERNEL_RCSID(_n, _s)          /* nothing */
-#endif /* NO_KERNEL_RCSIDS */
-#endif /* _KERNEL */
-
 /*
  * A barrier to stop the optimizer from moving code or assume live
  * register values. This is gcc specific, the version is more or less