From: Stu Grossman Date: Wed, 8 Apr 1992 05:37:32 +0000 (+0000) Subject: * xm-i386mach.h: add decls for errno and strdup(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=566198030964190f2021c51e52ee6a3e8bac55ca;p=binutils-gdb.git * xm-i386mach.h: add decls for errno and strdup(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c44063e82f..81b9ad5291f 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 c71a103b211..c714448b647 100644 --- a/gdb/xm-i386mach.h +++ b/gdb/xm-i386mach.h @@ -45,3 +45,5 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* only defines this if __STDC__!!! */ extern int errno; + +extern char *strdup();