aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-go32.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-29 07:45:13 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-29 07:45:13 +0000
commit9d271fd8b3c0f2aa013badabd02ea25fc113e082 (patch)
tree5c7992264c3c66be62ab1e03acfd70af1d22a391 /gdb/ser-go32.c
parent30f6df08a5a9e31e3ea1ce6ff94a17258001d6fa (diff)
downloadgdb-9d271fd8b3c0f2aa013badabd02ea25fc113e082.zip
gdb-9d271fd8b3c0f2aa013badabd02ea25fc113e082.tar.gz
gdb-9d271fd8b3c0f2aa013badabd02ea25fc113e082.tar.bz2
From Eli. Warning fixes.
Diffstat (limited to 'gdb/ser-go32.c')
-rw-r--r--gdb/ser-go32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index 94a7861c..0474000 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -127,15 +127,12 @@
#define MSR_DDSR 0x02
#define MSR_DCTS 0x01
+#include <string.h>
#include <dos.h>
#include <go32.h>
#include <dpmi.h>
typedef unsigned long u_long;
-/* DPMI Communication */
-static union REGS dpmi_regs;
-static struct SREGS dpmi_sregs;
-
/* 16550 rx fifo trigger point */
#define FIFO_TRIGGER FIFO_TRIGGER_4
@@ -693,6 +690,7 @@ dos_flush_input (scb)
if (port->fifo)
outb (port, com_fifo, FIFO_ENABLE | FIFO_RCV_RST | FIFO_TRIGGER);
enable ();
+ return 0;
}
static void