summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-13 19:23:09 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-13 19:23:09 -0700
commitb7c513d0049fc726e8c2bdba84f601eac0801512 (patch)
tree2a29a0989c5e5516358276265f769649cb1afe0d /src
parent989b29ad2242850e8256c7509c9551742ddeab45 (diff)
downloademacs-b7c513d0049fc726e8c2bdba84f601eac0801512.tar.gz
* sound.c (current_sound_device, current_sound): Now static.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/sound.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9e37c661c46..3762f04b4a4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/sound.c b/src/sound.c
index 4478a067c09..e121b5e37f3 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -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. */