Skip to content
Snippets Groups Projects
Commit b05c4e59 authored by Kaveh R. Ghazi's avatar Kaveh R. Ghazi Committed by Kaveh Ghazi
Browse files

* libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.

From-SVN: r49299
parent 11e17422
No related merge requests found
2002-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.
2001-12-06 Richard Henderson <rth@redhat.com>
* demangle.h (no_demangling): New.
......
/* 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment