diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-06-28 16:06:02 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-06-28 16:06:02 +0000 |
commit | 3aa48797ecc40f0b9fa07da4685595b9a5bcf07a (patch) | |
tree | 6071aaa9824ade430d70cba71650efb16e77a591 /sim/mcore | |
parent | 4683ebe4e2ebe3d956e90b55271a01fc6ce735cf (diff) | |
download | gdb-3aa48797ecc40f0b9fa07da4685595b9a5bcf07a.tar.gz |
import gdb-1999-06-28 snapshot
Diffstat (limited to 'sim/mcore')
-rw-r--r-- | sim/mcore/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mcore/sysdep.h | 4 |
2 files changed, 9 insertions, 0 deletions
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 <nickc@cygnus.com> + + * sysdep.h: Do not define prototypes for memcpy and strchr if they + are macros. + 1999-05-21 Nick Clifton <nickc@cygnus.com> * 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 <string.h>*/ #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(); |