summaryrefslogtreecommitdiff
path: root/usr/src/head/alloca.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/alloca.h')
-rw-r--r--usr/src/head/alloca.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/usr/src/head/alloca.h b/usr/src/head/alloca.h
index 29fe0fed76..23e890d8e8 100644
--- a/usr/src/head/alloca.h
+++ b/usr/src/head/alloca.h
@@ -20,6 +20,8 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -27,8 +29,6 @@
#ifndef _ALLOCA_H
#define _ALLOCA_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#ifdef __cplusplus
@@ -56,19 +56,11 @@ extern "C" {
defined(__sparc) || defined(__i386) || defined(__amd64)
#define alloca(x) __builtin_alloca(x)
-#ifdef __STDC__
extern void *__builtin_alloca(size_t);
-#else
-extern void *__builtin_alloca();
-#endif
#else
-#ifdef __STDC__
extern void *alloca(size_t);
-#else
-extern void *alloca();
-#endif
#endif /* defined(__BUILTIN_VA_ARG_INCR) || defined(__sparc) ... */