diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-10-24 12:07:53 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-11-13 10:20:44 +0100 |
commit | 3b5d59973315a2f2e77e9febd35034b4d51c716f (patch) | |
tree | f355e62d79ef9700fe4c41f591bfc43c19a6f016 /gdb/testsuite/gdb.base/structs.c | |
parent | 066a77c58038e1ecf0a18d51b28d7bab303e8234 (diff) | |
download | fsf-binutils-gdb-3b5d59973315a2f2e77e9febd35034b4d51c716f.zip fsf-binutils-gdb-3b5d59973315a2f2e77e9febd35034b4d51c716f.tar.gz fsf-binutils-gdb-3b5d59973315a2f2e77e9febd35034b4d51c716f.tar.bz2 |
GDB testsuite: drop non-prototype C function header variants
Remove many old-style function header variants in C source files of
the GDB test suite, using the 'unifdef' tool with '-DPROTOTYPES=1'.
gdb/testsuite/ChangeLog:
* gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
variant.
* gdb.base/annota3.c: Likewise.
* gdb.base/async.c: Likewise.
* gdb.base/average.c: Likewise.
* gdb.base/call-ar-st.c: Likewise.
* gdb.base/call-rt-st.c: Likewise.
* gdb.base/call-sc.c: Likewise.
* gdb.base/call-strs.c: Likewise.
* gdb.base/ending-run.c: Likewise.
* gdb.base/execd-prog.c: Likewise.
* gdb.base/exprs.c: Likewise.
* gdb.base/foll-exec.c: Likewise.
* gdb.base/foll-fork.c: Likewise.
* gdb.base/foll-vfork.c: Likewise.
* gdb.base/funcargs.c: Likewise.
* gdb.base/gcore.c: Likewise.
* gdb.base/jump.c: Likewise.
* gdb.base/langs0.c: Likewise.
* gdb.base/langs1.c: Likewise.
* gdb.base/langs2.c: Likewise.
* gdb.base/mips_pro.c: Likewise.
* gdb.base/nodebug.c: Likewise.
* gdb.base/opaque0.c: Likewise.
* gdb.base/opaque1.c: Likewise.
* gdb.base/recurse.c: Likewise.
* gdb.base/run.c: Likewise.
* gdb.base/scope0.c: Likewise.
* gdb.base/scope1.c: Likewise.
* gdb.base/setshow.c: Likewise.
* gdb.base/setvar.c: Likewise.
* gdb.base/shmain.c: Likewise.
* gdb.base/shr1.c: Likewise.
* gdb.base/shr2.c: Likewise.
* gdb.base/sigall.c: Likewise.
* gdb.base/signals.c: Likewise.
* gdb.base/so-indr-cl.c: Likewise.
* gdb.base/solib2.c: Likewise.
* gdb.base/structs.c: Likewise.
* gdb.base/sum.c: Likewise.
* gdb.base/vforked-prog.c: Likewise.
* gdb.base/watchpoint.c: Likewise.
* gdb.reverse/shr2.c: Likewise.
* gdb.reverse/until-reverse.c: Likewise.
* gdb.reverse/ur1.c: Likewise.
* gdb.reverse/watch-reverse.c: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/structs.c')
-rw-r--r-- | gdb/testsuite/gdb.base/structs.c | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/gdb/testsuite/gdb.base/structs.c b/gdb/testsuite/gdb.base/structs.c index d0b69a8..1fb4250 100644 --- a/gdb/testsuite/gdb.base/structs.c +++ b/gdb/testsuite/gdb.base/structs.c @@ -193,165 +193,75 @@ struct struct18 fun18() return foo18; } -#ifdef PROTOTYPES void Fun1(struct struct1 foo1) -#else -void Fun1(foo1) - struct struct1 foo1; -#endif { L1 = foo1; } -#ifdef PROTOTYPES void Fun2(struct struct2 foo2) -#else -void Fun2(foo2) - struct struct2 foo2; -#endif { L2 = foo2; } -#ifdef PROTOTYPES void Fun3(struct struct3 foo3) -#else -void Fun3(foo3) - struct struct3 foo3; -#endif { L3 = foo3; } -#ifdef PROTOTYPES void Fun4(struct struct4 foo4) -#else -void Fun4(foo4) - struct struct4 foo4; -#endif { L4 = foo4; } -#ifdef PROTOTYPES void Fun5(struct struct5 foo5) -#else -void Fun5(foo5) - struct struct5 foo5; -#endif { L5 = foo5; } -#ifdef PROTOTYPES void Fun6(struct struct6 foo6) -#else -void Fun6(foo6) - struct struct6 foo6; -#endif { L6 = foo6; } -#ifdef PROTOTYPES void Fun7(struct struct7 foo7) -#else -void Fun7(foo7) - struct struct7 foo7; -#endif { L7 = foo7; } -#ifdef PROTOTYPES void Fun8(struct struct8 foo8) -#else -void Fun8(foo8) - struct struct8 foo8; -#endif { L8 = foo8; } -#ifdef PROTOTYPES void Fun9(struct struct9 foo9) -#else -void Fun9(foo9) - struct struct9 foo9; -#endif { L9 = foo9; } -#ifdef PROTOTYPES void Fun10(struct struct10 foo10) -#else -void Fun10(foo10) - struct struct10 foo10; -#endif { L10 = foo10; } -#ifdef PROTOTYPES void Fun11(struct struct11 foo11) -#else -void Fun11(foo11) - struct struct11 foo11; -#endif { L11 = foo11; } -#ifdef PROTOTYPES void Fun12(struct struct12 foo12) -#else -void Fun12(foo12) - struct struct12 foo12; -#endif { L12 = foo12; } -#ifdef PROTOTYPES void Fun13(struct struct13 foo13) -#else -void Fun13(foo13) - struct struct13 foo13; -#endif { L13 = foo13; } -#ifdef PROTOTYPES void Fun14(struct struct14 foo14) -#else -void Fun14(foo14) - struct struct14 foo14; -#endif { L14 = foo14; } -#ifdef PROTOTYPES void Fun15(struct struct15 foo15) -#else -void Fun15(foo15) - struct struct15 foo15; -#endif { L15 = foo15; } -#ifdef PROTOTYPES void Fun16(struct struct16 foo16) -#else -void Fun16(foo16) - struct struct16 foo16; -#endif { L16 = foo16; } -#ifdef PROTOTYPES void Fun17(struct struct17 foo17) -#else -void Fun17(foo17) - struct struct17 foo17; -#endif { L17 = foo17; } -#ifdef PROTOTYPES void Fun18(struct struct18 foo18) -#else -void Fun18(foo18) - struct struct18 foo18; -#endif { L18 = foo18; } |