projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
binutils/
[external/binutils.git]
/
gdb
/
testsuite
/
gdb.base
/
jump.c
diff --git
a/gdb/testsuite/gdb.base/jump.c
b/gdb/testsuite/gdb.base/jump.c
index
e16d0fd
..
aae94f7
100644
(file)
--- a/
gdb/testsuite/gdb.base/jump.c
+++ b/
gdb/testsuite/gdb.base/jump.c
@@
-2,18
+2,23
@@
particularly deep about the functionality nor names in here.
*/
+#ifdef PROTOTYPES
+static int square (int x)
+#else
static int square (x)
int x;
+#endif
{
return x*x;
}
-main ()
+
int
main ()
{
int i = 99;
i++;
i = square (i);
i--;
+ return 0;
}