* ser-go32-para.c (dos_read): fix syntax errors.
authorKung Hsu <kung@cygnus>
Sat, 4 Feb 1995 00:51:30 +0000 (00:51 +0000)
committerKung Hsu <kung@cygnus>
Sat, 4 Feb 1995 00:51:30 +0000 (00:51 +0000)
gdb/ChangeLog
gdb/ser-go32-para.c

index f952444fd20b88515a3191eeca100d676a7acd40..612dd6694454ef48d6ca4f699fdb137d30243e1d 100644 (file)
@@ -1,3 +1,7 @@
+Fri Feb  3 16:47:31 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * ser-go32-para.c (dos_read): fix syntax errors.
+
 Fri Feb  3 11:19:20 1995  Stu Grossman  (grossman@cygnus.com)
 
        * core.c (dis_asm_read_memory), defs.h, gdbtk.c (gdb_disassemble),
index 60467797c6a23d99eb44a185faaaa50c22562689..707398efac3e36dae28f2528c306be11be123d78 100644 (file)
@@ -18,6 +18,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include "defs.h"
+#include "serial.h"
 #include <sys/dos.h>
 
 #if 0
@@ -40,7 +41,7 @@ static void go32_close PARAMS ((serial_t scb));
 static serial_ttystate go32_get_tty_state PARAMS ((serial_t scb));
 static int go32_set_tty_state PARAMS ((serial_t scb, serial_ttystate state));
 static unsigned long getivec PARAMS ((int which));
-static int dos_read PARAMS ((int fd, char *buf, int len, int timeout));
+static int dos_read PARAMS ((int fd, char *buf, int len));
 static int dos_write PARAMS ((int fd, const char *buf, int len));
 
 #if 0
@@ -120,7 +121,7 @@ go32_open (scb, name)
      serial_t scb;
      const char *name;
 {
-  int port;
+  int port, ret;
 
   if (strncasecmp (name, "lpt", 3) != 0)
     {
@@ -136,8 +137,8 @@ go32_open (scb, name)
       return -11;
     }
 
-  return = biosprn (1, 0, port);
-  if (!return)
+  ret = biosprn (1, 0, port);
+  if (!ret)
     return -1;
 
   scb->fd = port;
This page took 0.027622 seconds and 4 git commands to generate.