Commit | Line | Data |
---|---|---|
90f92569 JB |
1 | # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39752 |
2 | ||
3 | Index: libiberty/testsuite/test-demangle.c | |
4 | =================================================================== | |
5 | --- libiberty/testsuite/test-demangle.c (revision 145957) | |
6 | +++ libiberty/testsuite/test-demangle.c (working copy) | |
7 | @@ -46,7 +46,7 @@ | |
8 | #define LINELEN 80 | |
9 | ||
10 | static void | |
11 | -getline(buf) | |
12 | +get_line(buf) | |
13 | struct line *buf; | |
14 | { | |
15 | char *data = buf->data; | |
16 | @@ -196,12 +196,12 @@ | |
17 | { | |
18 | const char *inp; | |
19 | ||
20 | - getline (&format); | |
21 | + get_line (&format); | |
22 | if (feof (stdin)) | |
23 | break; | |
24 | ||
25 | - getline (&input); | |
26 | - getline (&expect); | |
27 | + get_line (&input); | |
28 | + get_line (&expect); | |
29 | ||
30 | inp = protect_end (input.data); | |
31 | ||
32 | @@ -322,7 +322,7 @@ | |
33 | ||
34 | if (no_params) | |
35 | { | |
36 | - getline (&expect); | |
37 | + get_line (&expect); | |
38 | result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES); | |
39 | ||
40 | if (result |