* remote.c (readchar): forward declare alarm which otherwise looks

like an undeclared variable to gcc.
This commit is contained in:
K. Richard Pixley 1993-02-18 00:05:45 +00:00
parent 040b959771
commit fce7f2d986
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Wed Feb 17 13:40:29 1993 K. Richard Pixley (rich@cygnus.com)
* remote.c (readchar): forward declare alarm which otherwise looks
like an undeclared variable to gcc.
* dbxread.c (process_one_symbol): cast enum value N_SO into int
when comparing against an int. Avoids superfluous warning from
vax ultrix 4.2 cc.

View File

@ -737,6 +737,10 @@ readchar ()
if (inbuf_index >= inbuf_count)
{
#ifndef HAVE_TERMIO
extern int alarm ();
#endif
/* Time to do another read... */
inbuf_index = 0;
inbuf_count = 0;