From b7c513d0049fc726e8c2bdba84f601eac0801512 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Apr 2011 19:23:09 -0700 Subject: [PATCH] * sound.c (current_sound_device, current_sound): Now static. --- src/ChangeLog | 2 ++ src/sound.c | 4 ++-- 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 + * 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. */ -- 2.39.2