mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
* remote.c (readchar): forward declare alarm which otherwise looks
like an undeclared variable to gcc.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user