]> git.eshelyaron.com Git - emacs.git/commitdiff
* sound.c (current_sound_device, current_sound): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2011 02:23:09 +0000 (19:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Apr 2011 02:23:09 +0000 (19:23 -0700)
src/ChangeLog
src/sound.c

index 9e37c661c4660bbd94d37c0fd33c0a22da10ca4d..3762f04b4a463e411cad190693fd885ebc6f2a9b 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-14  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * sound.c (current_sound_device, current_sound): Now static.
+
        * search.c (searchbufs, searchbuf_head): Now static.
 
        * scroll.c (scroll_cost): Remove; unused.
index 4478a067c090efb4123e7eba44cdae454dd6aac5..e121b5e37f3ab74de9b322486001164e4bf01d90 100644 (file)
@@ -281,8 +281,8 @@ struct sound
 /* These are set during `play-sound-internal' so that sound_cleanup has
    access to them.  */
 
-struct sound_device *current_sound_device;
-struct sound *current_sound;
+static struct sound_device *current_sound_device;
+static struct sound *current_sound;
 
 /* Function prototypes.  */