Changeset 1014


Ignore:
Timestamp:
2000-03-06T11:45:58+13:00 (24 years ago)
Author:
sjboddie
Message:

newer compilers complain about using stdin and stdout to do global
initialization as they're not constant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/mg/src/text/read_line.c

    r439 r1014  
    5252Init_ReadLine (void)
    5353{
     54  rl_instream = stdin;
     55  rl_outstream = stdout;
    5456}
    5557#endif
     
    113115#ifndef GNU_READLINE
    114116
    115 static FILE *rl_instream = stdin;
    116 static FILE *rl_outstream = stdout;
     117static FILE *rl_instream = NULL;
     118static FILE *rl_outstream = NULL;
    117119
    118120static char *
Note: See TracChangeset for help on using the changeset viewer.