diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-09 14:38:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-09 14:38:49 +0000 |
commit | 65e2f7407ad73ad4089ba9f7793b7e30e924a789 (patch) | |
tree | 834eea0c7dec9b987f4a159eee206ab33d0af65b /gdb/serial.h | |
parent | 7081ff044544540525d971fe53db9217f340a8ed (diff) | |
download | gdb-65e2f7407ad73ad4089ba9f7793b7e30e924a789.zip gdb-65e2f7407ad73ad4089ba9f7793b7e30e924a789.tar.gz gdb-65e2f7407ad73ad4089ba9f7793b7e30e924a789.tar.bz2 |
s/struct _serial_t/struct serial/
Diffstat (limited to 'gdb/serial.h')
-rw-r--r-- | gdb/serial.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/serial.h b/gdb/serial.h index fcc4da7..0a8df3c 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -29,8 +29,8 @@ interface. */ typedef void *serial_ttystate; -struct _serial_t; -typedef struct _serial_t *serial_t; +struct serial; +typedef struct serial *serial_t; /* Try to open NAME. Returns a new serial_t on success, NULL on failure. */ @@ -199,7 +199,7 @@ extern int serial_debug_p (serial_t scb); /* Details of an instance of a serial object */ -struct _serial_t +struct serial { int fd; /* File descriptor */ struct serial_ops *ops; /* Function vector */ @@ -215,7 +215,7 @@ struct _serial_t still need to wait for this many more seconds. */ char *name; /* The name of the device or host */ - struct _serial_t *next; /* Pointer to the next serial_t */ + struct serial *next; /* Pointer to the next serial_t */ int refcnt; /* Number of pointers to this block */ int debug_p; /* Trace this serial devices operation. */ int async_state; /* Async internal state. */ |