summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/alloca.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/alloca.h b/include/alloca.h
index df1b8f099..b4fc31738 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -38,39 +38,6 @@ extern void *alloca (size_t __size) __THROW;
#define __MAX_ALLOCA_CUTOFF 65536
-#ifdef __UCLIBC__
-#include <bits/stackinfo.h>
-#else
-#include <allocalim.h>
-#endif
-
-#if _STACK_GROWS_DOWN
-# define extend_alloca(buf, len, newlen) \
- (__typeof (buf)) ({ size_t __newlen = (newlen); \
- char *__newbuf = alloca (__newlen); \
- if (__newbuf + __newlen == (char *) buf) \
- len += __newlen; \
- else \
- len = __newlen; \
- __newbuf; })
-#elif _STACK_GROWS_UP
-# define extend_alloca(buf, len, newlen) \
- (__typeof (buf)) ({ size_t __newlen = (newlen); \
- char *__newbuf = alloca (__newlen); \
- char *__buf = (buf); \
- if (__buf + __newlen == __newbuf) \
- { \
- len += __newlen; \
- __newbuf = __buf; \
- } \
- else \
- len = __newlen; \
- __newbuf; })
-#else
-# define extern_alloca(buf, len, newlen) \
- alloca (((len) = (newlen)))
-#endif
-
__END_DECLS
#endif /* alloca.h */