2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
This commit is contained in:
parent
f453692c70
commit
a476ccc9d7
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* gdb.base/callfuncs.c: Add copyright notice.
|
* gdb.base/callfuncs.c: Add copyright notice.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* This testcase is part of GDB, the GNU debugger.
|
/* 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.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
/* Gotta have a main to be able to generate a linked, runnable
|
||||||
executable, and also provide a useful place to set a breakpoint. */
|
executable, and also provide a useful place to set a breakpoint. */
|
||||||
extern void * malloc() ;
|
|
||||||
int main ()
|
int main ()
|
||||||
{
|
{
|
||||||
#ifdef usestubs
|
#ifdef usestubs
|
||||||
|
|
Loading…
Add table
Reference in a new issue