summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-07-11 10:55:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-07-11 10:55:24 -0700
commit6a89fc81ea7b94ddf20775a2c85811bdf9a775d6 (patch)
treed3c597bc6978b205b56fb03f228c5e56a5a78987 /src/systty.h
parent47571310770234371eb6e361214056efd1b67137 (diff)
downloademacs-6a89fc81ea7b94ddf20775a2c85811bdf9a775d6.tar.gz
Coalesce extern decls.
* minibuf.c (emacs_get_tty, emacs_set_tty, suppress_echo_on_tty): * sysdep.c (emacs_get_tty, emacs_set_tty): Move duplicate extern decls from here ... * systty.h: ... to here, so that there's just one copy.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index dd4c07d32d9..dcab0268393 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -23,6 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <fcntl.h>
#endif /* not DOS_NT */
+#include <stdbool.h>
#include <sys/ioctl.h>
#ifdef HPUX
@@ -79,5 +80,8 @@ struct emacs_tty {
};
/* From sysdep.c or w32.c */
+extern void emacs_get_tty (int, struct emacs_tty *) EXTERNALLY_VISIBLE;
+extern int emacs_set_tty (int, struct emacs_tty *, bool) EXTERNALLY_VISIBLE;
+extern void suppress_echo_on_tty (int);
extern int serial_open (Lisp_Object);
extern void serial_configure (struct Lisp_Process *, Lisp_Object);