projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
so-impl-ld.c
diff --git
a/gdb/testsuite/gdb.base/so-impl-ld.c
b/gdb/testsuite/gdb.base/so-impl-ld.c
index a8fa18949b2a447e0e05d8fcd218a6f08c6a3446..9310bca1421a2077dda15e624f524d1d74e5d518 100644
(file)
--- a/
gdb/testsuite/gdb.base/so-impl-ld.c
+++ b/
gdb/testsuite/gdb.base/so-impl-ld.c
@@
-4,9
+4,13
@@
#include <stdio.h>
#include <stdio.h>
-extern int solib_main (int);
+#if defined(__cplusplus) || defined(__STDCPP__)
+extern "C" int solib_main (int arg);
+#else
+int solib_main (int arg);
+#endif
-main ()
+
int
main ()
{
int result;
{
int result;
@@
-15,4
+19,5
@@
main ()
/* Call it again. */
result = solib_main (result);
/* Call it again. */
result = solib_main (result);
+ return 0;
}
}
This page took
0.024436 seconds
and
4
git commands to generate.