From: Stu Grossman Date: Fri, 19 Mar 1993 22:13:38 +0000 (+0000) Subject: * xm-sun4os4.h: Return type of free() should be void, not int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=733a9015f737d1aa019ed27b379605778da48a0f;p=binutils-gdb.git * xm-sun4os4.h: Return type of free() should be void, not int. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 02ff0c505c3..0369b453f41 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Fri Mar 19 12:59:50 1993 Stu Grossman (grossman@cygnus.com) + * xm-sun4os4.h: Return type of free() should be void, not int. + * vx-share/vxWorks.h: Remove #def of NULL. Fri Mar 19 11:28:18 1993 Jim Kingdon (kingdon@cygnus.com) diff --git a/gdb/xm-sun4os4.h b/gdb/xm-sun4os4.h index 4a6133c544b..be96f41da6b 100644 --- a/gdb/xm-sun4os4.h +++ b/gdb/xm-sun4os4.h @@ -46,7 +46,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define MALLOC_INCOMPATIBLE extern char* malloc PARAMS (()); extern char* realloc PARAMS (()); -extern int free PARAMS (()); +extern void free PARAMS (()); /* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */