]> git.eshelyaron.com Git - emacs.git/commitdiff
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 29d4e75eefd93a1dd2844d602d18538e412436c8..883f6505e20f171e5a581b548d0de8a9cd220236 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 0f852a7c3822a560f834ce53913331c34c8eb5cf..73ef4abc0a4d601c0b12afe1994c4b3ec2660aa0 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