emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117521: Coalesce extern decls.


From: Paul Eggert
Subject: [Emacs-diffs] trunk r117521: Coalesce extern decls.
Date: Fri, 11 Jul 2014 17:55:28 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117521
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2014-07-11 10:55:24 -0700
message:
  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.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/minibuf.c                  minibuf.c-20091113204419-o5vbwnq5f7feedwu-242
  src/sysdep.c                   sysdep.c-20091113204419-o5vbwnq5f7feedwu-448
  src/systty.h                   systty.h-20091113204419-o5vbwnq5f7feedwu-463
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-07-11 16:33:17 +0000
+++ b/src/ChangeLog     2014-07-11 17:55:24 +0000
@@ -1,3 +1,11 @@
+2014-07-11  Paul Eggert  <address@hidden>
+
+       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.
+
 2014-07-11  Jan Djärv  <address@hidden>
 
        * nsterm.m (changeFont:): Add ifdef NS_IMPL_COCOA.

=== modified file 'src/minibuf.c'
--- a/src/minibuf.c     2014-07-11 15:44:25 +0000
+++ b/src/minibuf.c     2014-07-11 17:55:24 +0000
@@ -38,11 +38,7 @@
 #include "intervals.h"
 #include "keymap.h"
 #include "termhooks.h"
-
 #include "systty.h"
-extern void emacs_get_tty (int, struct emacs_tty *);
-extern int emacs_set_tty (int, struct emacs_tty *, bool);
-extern void suppress_echo_on_tty (int);
 
 /* List of buffers for use as minibuffers.
    The first element of the list is used for the outermost minibuffer

=== modified file 'src/sysdep.c'
--- a/src/sysdep.c      2014-07-11 13:58:02 +0000
+++ b/src/sysdep.c      2014-07-11 17:55:24 +0000
@@ -105,9 +105,6 @@
 #include "syssignal.h"
 #include "systime.h"
 
-void emacs_get_tty (int, struct emacs_tty *) EXTERNALLY_VISIBLE;
-int emacs_set_tty (int, struct emacs_tty *, bool) EXTERNALLY_VISIBLE;
-
 /* ULLONG_MAX is missing on Red Hat Linux 7.3; see Bug#11781.  */
 #ifndef ULLONG_MAX
 #define ULLONG_MAX TYPE_MAXIMUM (unsigned long long int)

=== modified file 'src/systty.h'
--- a/src/systty.h      2014-07-11 13:58:02 +0000
+++ b/src/systty.h      2014-07-11 17:55:24 +0000
@@ -23,6 +23,7 @@
 #include <fcntl.h>
 #endif /* not DOS_NT */
 
+#include <stdbool.h>
 #include <sys/ioctl.h>
 
 #ifdef HPUX
@@ -79,5 +80,8 @@
 };
 
 /* 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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]