summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-14 15:49:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-14 15:49:41 -0700
commita0977c44540ebf331dde6f673f4fbf735b4e30ac (patch)
tree9dda507c4ae8e4b9203fdd5b7d5fd4e15ba2fe25 /src
parenta884fdcc41237099dc76548a9b751ceaabefe7de (diff)
* process.c (serial_open, serial_configure): Move decls from here ...
* systty.h: ... to here, so that they can be checked.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/process.c4
-rw-r--r--src/systty.h3
3 files changed, 6 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e45fed84108..edc79329a3b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
2011-03-14 Paul Eggert <eggert@cs.ucla.edu>
+ * process.c (serial_open, serial_configure): Move decls from here ...
+ * systty.h: ... to here, so that they can be checked.
+
* fns.c (get_random, seed_random): Move extern decls from here ...
* lisp.h: ... to here, so that they can be checked.
diff --git a/src/process.c b/src/process.c
index 210287a85f1..c8f329c244b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -164,10 +164,6 @@ extern Lisp_Object QCfilter;
extern const char *get_operating_system_release (void);
-/* From sysdep.c or w32.c */
-extern int serial_open (char *port);
-extern void serial_configure (struct Lisp_Process *p, Lisp_Object contact);
-
#ifndef HAVE_H_ERRNO
extern int h_errno;
#endif
diff --git a/src/systty.h b/src/systty.h
index 2eacfdb2716..1548952e7a8 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -118,3 +118,6 @@ struct emacs_tty {
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);