aboutsummaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@caip.rutgers.edu>2002-01-28 21:08:34 +0000
committerKaveh Ghazi <ghazi@caip.rutgers.edu>2002-01-28 21:08:34 +0000
commitb03954d04bfb624113acd749ca6eabf7514f2775 (patch)
tree6c24e5586f9409c5eefa69f054761d9676ccf2fb /include/libiberty.h
parentcb196f83d4149fc546423ad928c5ea8b82fc38d7 (diff)
* libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@49299 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 455643d3a92..3e0ca096c02 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -1,6 +1,6 @@
/* Function declarations for libiberty.
- Copyright 2001 Free Software Foundation, Inc.
+ Copyright 2001, 2002 Free Software Foundation, Inc.
Note - certain prototypes declared in this header file are for
functions whoes implementation copyright does not belong to the
@@ -283,7 +283,7 @@ extern int vasprintf PARAMS ((char **, const char *, va_list))
USE_C_ALLOCA yourself. The canonical autoconf macro C_ALLOCA is
also set/unset as it is often used to indicate whether code needs
to call alloca(0). */
-extern PTR C_alloca PARAMS((size_t));
+extern PTR C_alloca PARAMS ((size_t)) ATTRIBUTE_MALLOC;
#undef alloca
#if GCC_VERSION >= 2000 && !defined USE_C_ALLOCA
# define alloca(x) __builtin_alloca(x)