X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/4004364e6777a1ed2c3e2c0fdf9fed871b186ac3..bde3c6c0f79ab814e12ea0f04b06625f91f5cd52:/src/systty.h diff --git a/src/systty.h b/src/systty.h index ec85818101..b7f36c6c25 100644 --- a/src/systty.h +++ b/src/systty.h @@ -1,6 +1,5 @@ /* systty.h - System-dependent definitions for terminals. - Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-1994, 2001-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -18,10 +17,8 @@ You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ /* Include the proper files. */ + #ifndef DOS_NT -#ifndef NO_TERMIO -#include -#endif /* not NO_TERMIO */ #include #include #endif /* not DOS_NT */ @@ -40,20 +37,6 @@ along with GNU Emacs. If not, see . */ #include -/* Special cases - inhibiting the use of certain features. */ - -/* Allow m- file to inhibit use of FIONREAD. */ -#ifdef BROKEN_FIONREAD -#undef FIONREAD -#undef ASYNC -#endif - -/* Interrupt input is not used if there is no FIONREAD. */ -#ifndef FIONREAD -#undef SIGIO -#endif - - /* Try to establish the correct character to disable terminal functions in a system-independent manner. Note that USG (at least) define _POSIX_VDISABLE as 0! */ @@ -116,6 +99,6 @@ struct emacs_tty { #endif /* DOS_NT */ }; -extern int emacs_get_tty (int, struct emacs_tty *); -extern int emacs_set_tty (int, struct emacs_tty *, int); - +/* From sysdep.c or w32.c */ +extern int serial_open (char *); +extern void serial_configure (struct Lisp_Process *, Lisp_Object);