diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-20 15:30:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-20 15:30:18 +0000 |
commit | cb902b250c7604ec2d42744d56fbebe43c69b474 (patch) | |
tree | df0fe6b2a09759f582697a073d6b2f2aef3bb584 /gdb/serial.c | |
parent | b123deccd98c75c9e005c1f11d4efd2bc9842661 (diff) | |
download | gdb-cb902b250c7604ec2d42744d56fbebe43c69b474.tar.gz |
* serial.c (deprecated_serial_fd): Remove.
* serial.h (deprecated_serial_fd): Remove.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 62d7fa97a5d..5bd221a8113 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -546,19 +546,6 @@ serial_async (struct serial *scb, scb->ops->async (scb, handler != NULL); } -int -deprecated_serial_fd (struct serial *scb) -{ - /* FIXME: should this output a warning that deprecated code is being - called? */ - if (scb->fd < 0) - { - internal_error (__FILE__, __LINE__, - _("serial: FD not valid")); - } - return scb->fd; /* sigh */ -} - void serial_debug (struct serial *scb, int debug_p) { |