summaryrefslogtreecommitdiff
path: root/gdb/ser-go32.c
diff options
context:
space:
mode:
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 94a7861c35c..0474000e61a 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