* emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 May 2011 04:08:28 +0000 (21:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 May 2011 04:08:28 +0000 (21:08 -0700)
(x_clipboard_manager_save_all): Move extern decl to ...
* xterm.h: ... here, so that it can be checked for consistency.

src/ChangeLog
src/emacs.c
src/xterm.h

index 6c56b87..29d4e75 100644 (file)
@@ -1,3 +1,9 @@
+2011-05-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".
+       (x_clipboard_manager_save_all): Move extern decl to ...
+       * xterm.h: ... here, so that it can be checked for consistency.
+
 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
 
        * xselect.c (x_clipboard_manager_save_frame)
index 090fdda..cf74963 100644 (file)
@@ -65,6 +65,10 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "nsterm.h"
 #endif
 
+#ifdef HAVE_X_WINDOWS
+#include "xterm.h"
+#endif
+
 #ifdef HAVE_SETLOCALE
 #include <locale.h>
 #endif
@@ -1959,11 +1963,6 @@ sort_args (int argc, char **argv)
   xfree (priority);
 }
 \f
-#ifdef HAVE_X_WINDOWS
-/* Defined in xselect.c.  */
-extern void x_clipboard_manager_save_all (void);
-#endif
-
 DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P",
        doc: /* Exit the Emacs job and kill it.
 If ARG is an integer, return ARG as the exit program code.
index 2184794..2938de9 100644 (file)
@@ -1025,6 +1025,7 @@ extern Lisp_Object x_property_data_to_lisp (struct frame *,
                                             int,
                                             unsigned long);
 extern void x_clipboard_manager_save_frame (Lisp_Object);
+extern void x_clipboard_manager_save_all (void);
 
 /* Defined in xfns.c */