Remove cleanups from prepare_execute_command
[deliverable/binutils-gdb.git] / gdb / serial.h
index cf4e6599f75b0a0f7b5a38c479e304561780fffa..c76ddbee108efe946db90578391dbe500a3ee2cb 100644 (file)
@@ -250,11 +250,6 @@ struct serial
                                   buffer.  -ve for sticky errors.  */
     unsigned char *bufp;       /* Current byte */
     unsigned char buf[BUFSIZ]; /* Da buffer itself */
-    int current_timeout;       /* (ser-unix.c termio{,s} only), last
-                                  value of VTIME */
-    int timeout_remaining;     /* (ser-unix.c termio{,s} only), we
-                                  still need to wait for this many
-                                  more seconds.  */
     struct serial *next;       /* Pointer to the next `struct serial *' */
     int debug_p;               /* Trace this serial devices operation.  */
     int async_state;           /* Async internal state.  */
@@ -264,7 +259,7 @@ struct serial
 
 struct serial_ops
   {
-    char *name;
+    const char *name;
     int (*open) (struct serial *, const char *name);
     void (*close) (struct serial *);
     int (*fdopen) (struct serial *, int fd);
This page took 0.024181 seconds and 4 git commands to generate.