summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/head/string.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/src/head/string.h b/usr/src/head/string.h
index 2194b70bd8..f75c14c59c 100644
--- a/usr/src/head/string.h
+++ b/usr/src/head/string.h
@@ -22,6 +22,7 @@
/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2020 Joyent, Inc.
*/
/* Copyright (c) 1988 AT&T */
@@ -139,13 +140,8 @@ extern char *strdup(const char *);
#if defined(__EXTENSIONS__) || \
(!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
-#if defined(__GNUC__)
-/*
- * gcc provides this inlining facility but Studio C does not.
- * We should use it exclusively once Studio C also provides it.
- */
-extern void *__builtin_alloca(size_t);
+#if defined(__GNUC__)
#define strdupa(s) \
(__extension__( \