OSDN Git Service

Copyright updates for 2007.
[pf3gnuchains/pf3gnuchains3x.git] / sim / mcore / sysdep.h
index adf9b5e..e200c65 100644 (file)
@@ -1,5 +1,5 @@
-/* System includes and definitions used by the Motorolla MCore simulator.
-   Copyright (C) 1999 Free Software Foundation, Inc.
+/* System includes and definitions used by the Motorola MCore simulator.
+   Copyright (C) 1999, 2007 Free Software Foundation, Inc.
    Contributed by Cygnus Solutions.
 
 This file is part of GDB, the GNU debugger.
@@ -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();