aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-06-15 10:59:44 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-06-15 10:59:44 +0000
commit070d61acdc67533c6c7bbf43db9b6e85bc857a54 (patch)
tree112b046730b094b6f1cd6413a28fa526d7d12497
parentb77aeb1292f8dcca66edb1744bae355cd37cb4aa (diff)
downloadsrc-070d61acdc67533c6c7bbf43db9b6e85bc857a54.tar.gz
src-070d61acdc67533c6c7bbf43db9b6e85bc857a54.zip
Remove the definition of alloca(), it does not belong here.
Notes
Notes: svn path=/head/; revision=116396
-rw-r--r--sys/sys/cdefs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 0ecd23cd18a2..ff81fb5a0d2d 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -142,11 +142,6 @@
#define __section(x) __attribute__((__section__(x)))
#endif
#endif
-#ifdef __GNUC__
-#define alloca(sz) __builtin_alloca(sz)
-#else
-#error FreeBSD alloca support needed for this compiler
-#endif
/* XXX: should use `#if __STDC_VERSION__ < 199901'. */
#if !(__GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3)