From: Paul Eggert Date: Thu, 14 Apr 2011 02:23:09 +0000 (-0700) Subject: * sound.c (current_sound_device, current_sound): Now static. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~308 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7c513d0049fc726e8c2bdba84f601eac0801512;p=emacs.git * sound.c (current_sound_device, current_sound): Now static. --- 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. */