* serial.h (deprecated_serial_fd): Remove.
+2012-12-20 Tom Tromey <tromey@redhat.com>
+
+ * serial.c (deprecated_serial_fd): Remove.
+ * serial.h (deprecated_serial_fd): Remove.
+
2012-12-20 Yao Qi <yao@codesourcery.com>
* maint.c (_initialize_maint_cmds): Move code ...
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)
{
extern void serial_async (struct serial *scb,
serial_event_ftype *handler, void *context);
-/* Provide direct access to the underlying FD (if any) used to
- implement the serial device. This interface is clearly
- deprecated. Will call internal_error() if the operation isn't
- applicable to the current serial device. */
-
-extern int deprecated_serial_fd (struct serial *scb);
-
/* Trace/debug mechanism.
serial_debug() enables/disables internal debugging.