Minor fixes prompted by GCC 4.6.0 warnings.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 May 2011 05:23:24 +0000 (22:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 May 2011 05:23:24 +0000 (22:23 -0700)
* xselect.c (converted_selections, conversion_fail_tag): Now static.

src/ChangeLog
src/xselect.c

index 29d4e75..883f650 100644 (file)
@@ -1,5 +1,9 @@
 2011-05-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Minor fixes prompted by GCC 4.6.0 warnings.
+
+       * xselect.c (converted_selections, conversion_fail_tag): Now static.
+
        * 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.
index 0f852a7..73ef4ab 100644 (file)
@@ -489,10 +489,10 @@ struct selection_data
 
 /* Linked list of the above (in support of MULTIPLE targets).  */
 
-struct selection_data *converted_selections;
+static struct selection_data *converted_selections;
 
 /* "Data" to send a requestor for a failed MULTIPLE subtarget.  */
-Atom conversion_fail_tag;
+static Atom conversion_fail_tag;
 
 /* Used as an unwind-protect clause so that, if a selection-converter signals
    an error, we tell the requester that we were unable to do what they wanted