exception.cc: Remove prototype declarations for malloc and free.
1999-11-27 Per Bothner <per@bothner.com> * exception.cc: Remove prototype declarations for malloc and free. These clash with recent versions of glibc, which specifies `throws ()' when __cplusplus is defined. Instead, #include <stdlib.h>. From-SVN: r30709
This commit is contained in:
parent
d0f89bfce0
commit
9b811d11de
3 changed files with 276 additions and 74 deletions
|
@ -12,6 +12,7 @@ details. */
|
|||
|
||||
#include "exception"
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <java/lang/Class.h>
|
||||
#include <java/lang/NullPointerException.h>
|
||||
|
@ -37,9 +38,6 @@ extern "C" void __sjthrow () __attribute__ ((__noreturn__));
|
|||
extern "C" short __get_eh_table_version (void *table);
|
||||
extern "C" short __get_eh_table_language (void *table);
|
||||
|
||||
extern "C" void * malloc (size_t);
|
||||
extern "C" void free (void *);
|
||||
|
||||
|
||||
extern "C" void *
|
||||
_Jv_type_matcher (java_eh_info *info, void* match_info,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue