Commit ee07afa0 by Nick Clifton Committed by Nick Clifton

re PR fortran/10197 (direct acces files not unformatted by default)

        PR 10197
        * testsuite/test-demangle.c: Rename getline to get_line to avoid
        conflicts with system function of the same name.

From-SVN: r148526
parent de70bb20
2009-06-16 Nick Clifton <nickc@redhat.com>
PR 10197
* testsuite/test-demangle.c: Rename getline to get_line to avoid
conflicts with system function of the same name.
2009-05-30 Eli Zaretskii <eliz@gnu.org> 2009-05-30 Eli Zaretskii <eliz@gnu.org>
* snprintf.c: Doc fix. * snprintf.c: Doc fix.
......
...@@ -46,7 +46,7 @@ static unsigned int lineno; ...@@ -46,7 +46,7 @@ static unsigned int lineno;
#define LINELEN 80 #define LINELEN 80
static void static void
getline(buf) get_line(buf)
struct line *buf; struct line *buf;
{ {
char *data = buf->data; char *data = buf->data;
...@@ -196,12 +196,12 @@ main(argc, argv) ...@@ -196,12 +196,12 @@ main(argc, argv)
{ {
const char *inp; const char *inp;
getline (&format); get_line (&format);
if (feof (stdin)) if (feof (stdin))
break; break;
getline (&input); get_line (&input);
getline (&expect); get_line (&expect);
inp = protect_end (input.data); inp = protect_end (input.data);
...@@ -322,7 +322,7 @@ main(argc, argv) ...@@ -322,7 +322,7 @@ main(argc, argv)
if (no_params) if (no_params)
{ {
getline (&expect); get_line (&expect);
result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES); result = cplus_demangle (inp, DMGL_ANSI|DMGL_TYPES);
if (result if (result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment