diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-29 07:45:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-29 07:45:13 +0000 |
commit | 73987fbdfd2650cd575d1d84caefe057797fcc51 (patch) | |
tree | 126ac5931f48f8c2982db510da52d67d46614d3f /gdb/ser-go32.c | |
parent | 9c66ab59f3eda3c9f431a01c8afe0a79c71807e8 (diff) | |
download | gdb-73987fbdfd2650cd575d1d84caefe057797fcc51.tar.gz |
From Eli. Warning fixes.
Diffstat (limited to 'gdb/ser-go32.c')
-rw-r--r-- | gdb/ser-go32.c | 6 |
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 |