[10/16] 'callfuncs' test case: Fix typo in prototyped version
Commit Message
Fix a small typo in callfuncs.c which leads to a compile error when
the PROTOTYPES macro is defined.
gdb/testsuite/ChangeLog:
* 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(-)
@@ -216,7 +216,7 @@ char *t_structs_a (struct struct1 tstruct)
#ifdef TEST_COMPLEX
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;}
#endif
#else
char t_structs_c (tstruct) struct struct1 tstruct; { return (tstruct.c); }