From 085dd6e638eca9d348100c8f0e8cae04e20d58a1 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 28 Jun 1999 16:06:02 +0000 Subject: import gdb-1999-06-28 snapshot --- sim/mcore/ChangeLog | 5 +++++ sim/mcore/sysdep.h | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'sim/mcore') diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index f8b9d93c104..7bb8877c38d 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,8 @@ +1999-06-23 Nick Clifton + + * sysdep.h: Do not define prototypes for memcpy and strchr if they + are macros. + 1999-05-21 Nick Clifton * interp.c (sim_resume): Add more tracing output. diff --git a/sim/mcore/sysdep.h b/sim/mcore/sysdep.h index adf9b5e277f..e2e92e140f1 100644 --- a/sim/mcore/sysdep.h +++ b/sim/mcore/sysdep.h @@ -46,7 +46,9 @@ with this program; if not, write to the Free Software Foundation, Inc., /*#include */ #else extern char * mktemp (); +#ifndef memset extern PTR memset (); +#endif #ifndef DONTDECLARE_MALLOC extern PTR malloc (); @@ -65,7 +67,9 @@ extern void free (); extern int free(); #endif +#ifndef strchr extern char * strchr(); +#endif extern char * getenv(); extern PTR memchr(); extern char * strrchr(); -- cgit v1.2.1