* xdisp.c (cursor_type_changed): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Aug 2013 07:05:54 +0000 (00:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Aug 2013 07:05:54 +0000 (00:05 -0700)
src/ChangeLog
src/window.h
src/xdisp.c

index 30a3dc3..a120cf1 100644 (file)
@@ -1,5 +1,7 @@
 2013-08-14  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * xdisp.c (cursor_type_changed): Now static.
+
        * image.c (imagemagick_filename_hint): New arg HINT_BUFFER.
        Use changed.  This avoids the need to call xmalloc and for the
        caller to call xfree, and avoids memory leaks in some situations.
index 585697f..c646418 100644 (file)
@@ -906,10 +906,6 @@ extern int update_mode_lines;
 
 extern int windows_or_buffers_changed;
 
-/* Nonzero means a frame's cursor type has been changed.  */
-
-extern int cursor_type_changed;
-
 /* If *ROWS or *COLS are too small a size for FRAME, set them to the
    minimum allowable size.  */
 
index b8520e3..82b528c 100644 (file)
@@ -524,7 +524,7 @@ int windows_or_buffers_changed;
 
 /* Nonzero means a frame's cursor type has been changed.  */
 
-int cursor_type_changed;
+static int cursor_type_changed;
 
 /* Nonzero after display_mode_line if %l was used and it displayed a
    line number.  */