aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-08 05:37:32 +0000
committerStu Grossman <grossman@cygnus>1992-04-08 05:37:32 +0000
commit566198030964190f2021c51e52ee6a3e8bac55ca (patch)
treec6b16cc598aa323ab5bf40d9f9525576fd13e7cc
parentfa128a27abf9f71131b174db2e06586486da2a25 (diff)
downloadgdb-566198030964190f2021c51e52ee6a3e8bac55ca.zip
gdb-566198030964190f2021c51e52ee6a3e8bac55ca.tar.gz
gdb-566198030964190f2021c51e52ee6a3e8bac55ca.tar.bz2
* xm-i386mach.h: add decls for errno and strdup().
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/xm-i386mach.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8c44063..81b9ad5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,6 +1,6 @@
Tue Apr 7 16:34:07 1992 Per Bothner (bothner@cygnus.com)
- * xm-i386mach.h: add decl for errno.
+ * xm-i386mach.h: add decls for errno and strdup().
* breakpoint.c (breakpoint_1): Add (int) casts for enums
used in array index context (otherwise, some compilers barf).
diff --git a/gdb/xm-i386mach.h b/gdb/xm-i386mach.h
index c71a103..c714448 100644
--- a/gdb/xm-i386mach.h
+++ b/gdb/xm-i386mach.h
@@ -45,3 +45,5 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* <errno.h> only defines this if __STDC__!!! */
extern int errno;
+
+extern char *strdup();