diff mbox

[10/16] 'callfuncs' test case: Fix typo in prototyped version

Message ID 1414598446-13831-10-git-send-email-arnez@linux.vnet.ibm.com
State New
Headers show

Commit Message

Andreas Arnez Oct. 29, 2014, 4 p.m. UTC
Fix a small typo in callfuncs.c which leads to a compile error when
the PROTOTYPES macro is defined.


	* gdb.base/callfuncs.c (t_structs_ldc): Renamed from t_structs_fc
	in conditional code guarded by #ifdef PROTOTYPES.
 gdb/testsuite/gdb.base/callfuncs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox


diff --git a/gdb/testsuite/gdb.base/callfuncs.c b/gdb/testsuite/gdb.base/callfuncs.c
index 24fd33c..8548757 100644
--- a/gdb/testsuite/gdb.base/callfuncs.c
+++ b/gdb/testsuite/gdb.base/callfuncs.c
@@ -216,7 +216,7 @@  char  *t_structs_a (struct struct1 tstruct)
 float _Complex t_structs_fc (struct struct1 tstruct) { return tstruct.fc;}
 double _Complex t_structs_dc (struct struct1 tstruct) { return tstruct.dc;}
-long double _Complex t_structs_fc (struct struct1 tstruct) { return tstruct.ldc;}
+long double _Complex t_structs_ldc (struct struct1 tstruct) { return tstruct.ldc;}
 char   t_structs_c (tstruct) struct struct1 tstruct; { return (tstruct.c); }