aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-03-19 22:13:38 +0000
committerStu Grossman <grossman@cygnus>1993-03-19 22:13:38 +0000
commit733a9015f737d1aa019ed27b379605778da48a0f (patch)
treeb88c146ab820938e316846cf81e6c40a01ac0d00
parentbc0d4cb9fea0d18532db3a02216584cf5f39c5b0 (diff)
downloadgdb-733a9015f737d1aa019ed27b379605778da48a0f.zip
gdb-733a9015f737d1aa019ed27b379605778da48a0f.tar.gz
gdb-733a9015f737d1aa019ed27b379605778da48a0f.tar.bz2
* xm-sun4os4.h: Return type of free() should be void, not int.
-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() */