summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2004-01-14 14:32:54 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2004-01-14 14:32:54 +0000
commitad5ee2ec9545184371b871aea881b1aa6e981b43 (patch)
treeb0ea16a88a1c93c483e7d8d9033ec70514edc86a /gdb/testsuite/gdb.base
parent3afb6439d0a456c0bb60b6d6bd79e39eefc1781e (diff)
downloadgdb-ad5ee2ec9545184371b871aea881b1aa6e981b43.tar.gz
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.c b/gdb/testsuite/gdb.base/callfuncs.c
index a31a56e5185..a52b2b138f9 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