aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-01-14 14:32:54 +0000
committerMichael Chastain <mec@google.com>2004-01-14 14:32:54 +0000
commita476ccc9d74603a2dacfe0f6e7da5bd09e2da0b1 (patch)
tree4e1997c96c1426b1c858058a18cbae7a531c8738 /gdb
parentf453692c703c0a85241e34839bd4f93fcf943ff6 (diff)
downloadgdb-a476ccc9d74603a2dacfe0f6e7da5bd09e2da0b1.zip
gdb-a476ccc9d74603a2dacfe0f6e7da5bd09e2da0b1.tar.gz
gdb-a476ccc9d74603a2dacfe0f6e7da5bd09e2da0b1.tar.bz2
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 0e50488..401df16 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
+
+2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
+
* gdb.base/callfuncs.c: Add copyright notice.
2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
diff --git a/gdb/testsuite/gdb.base/callfuncs.c b/gdb/testsuite/gdb.base/callfuncs.c
index a31a56e..a52b2b1 100644
--- a/gdb/testsuite/gdb.base/callfuncs.c
+++ b/gdb/testsuite/gdb.base/callfuncs.c
@@ -1,6 +1,6 @@
/* This testcase is part of GDB, the GNU debugger.
- Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001
+ Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2004
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -379,7 +379,7 @@ int a, b;
/* Gotta have a main to be able to generate a linked, runnable
executable, and also provide a useful place to set a breakpoint. */
-extern void * malloc() ;
+
int main ()
{
#ifdef usestubs