diff options
author | K. Richard Pixley <rich@cygnus> | 1993-02-18 00:05:45 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-02-18 00:05:45 +0000 |
commit | fce7f2d9866de03b1bd6218e5c33ef711ded5823 (patch) | |
tree | c34435ad5158055c9514e67d2a058ba85f3a798f /gdb/remote.c | |
parent | 040b9597711d9c58ca825f797da1c26a2f5bcdba (diff) | |
download | gdb-fce7f2d9866de03b1bd6218e5c33ef711ded5823.zip gdb-fce7f2d9866de03b1bd6218e5c33ef711ded5823.tar.gz gdb-fce7f2d9866de03b1bd6218e5c33ef711ded5823.tar.bz2 |
* remote.c (readchar): forward declare alarm which otherwise looks
like an undeclared variable to gcc.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 083d12c..a17b005 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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; |