From 9596ebb7012a19a45ca036a200acd617a93a321b Mon Sep 17 00:00:00 2001 From: pbrook Date: Sun, 18 Nov 2007 01:44:38 +0000 Subject: Add statics and missing #includes for prototypes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/wm8750.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hw/wm8750.c') diff --git a/hw/wm8750.c b/hw/wm8750.c index 245d56fb0c..8243ca54b6 100644 --- a/hw/wm8750.c +++ b/hw/wm8750.c @@ -124,7 +124,7 @@ static const struct wm_rate_s wm_rate_table[] = { { 192, 88200, 128, 88200 }, /* SR: 11111 */ }; -void wm8750_set_format(struct wm8750_s *s) +static void wm8750_set_format(struct wm8750_s *s) { int i; audsettings_t in_fmt; @@ -194,7 +194,7 @@ void wm8750_set_format(struct wm8750_s *s) AUD_set_active_out(*s->out[0], 1); } -void inline wm8750_mask_update(struct wm8750_s *s) +static void inline wm8750_mask_update(struct wm8750_s *s) { #define R_ONLY 0x0000ffff #define L_ONLY 0xffff0000 @@ -596,7 +596,7 @@ i2c_slave *wm8750_init(i2c_bus *bus, AudioState *audio) return &s->i2c; } -void wm8750_fini(i2c_slave *i2c) +static void wm8750_fini(i2c_slave *i2c) { struct wm8750_s *s = (struct wm8750_s *) i2c; wm8750_reset(&s->i2c); -- cgit v1.2.3