aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/xm-sun4os4.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 02ff0c5..0369b45 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 4a6133c..be96f41 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() */