summaryrefslogtreecommitdiff
path: root/include/sys/cdefs.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-07 20:50:27 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-19 08:26:28 +0100
commita745c4bfc8a9b5db4e48387170da0dc1d39e3abe (patch)
treecbcad0531c831d3b2a8420fdeb330147fbe598e1 /include/sys/cdefs.h
parentbcbbc6d4f00914279ae42006d13a54bb9b91f144 (diff)
remove unused FORTIFY code fragments
Diffstat (limited to 'include/sys/cdefs.h')
-rw-r--r--include/sys/cdefs.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h
index 6cd38114b..a4359a05c 100644
--- a/include/sys/cdefs.h
+++ b/include/sys/cdefs.h
@@ -129,10 +129,6 @@
#endif
-/* Fortify support. */
-#define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
-#define __bos0(ptr) __builtin_object_size (ptr, 0)
-
#if __GNUC_PREREQ (4,3)
# define __warndecl(name, msg) \
extern void name (void) __attribute__((__warning__ (msg)))
@@ -300,9 +296,6 @@
#if __GNUC_PREREQ (3,4)
# define __attribute_warn_unused_result__ \
__attribute__ ((__warn_unused_result__))
-# if __USE_FORTIFY_LEVEL > 0
-# define __wur __attribute_warn_unused_result__
-# endif
#else
# define __attribute_warn_unused_result__ /* empty */
#endif