diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
commit | 9596ebb7012a19a45ca036a200acd617a93a321b (patch) | |
tree | df011db5945e48dc0c86c04daf2c2072f43f2867 /hw/wm8750.c | |
parent | 4c1b1bfe30dab7bc08e3ff8f179f8e11be9d7f04 (diff) | |
download | qemu-9596ebb7012a19a45ca036a200acd617a93a321b.zip qemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.gz qemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.bz2 |
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/wm8750.c')
-rw-r--r-- | hw/wm8750.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/wm8750.c b/hw/wm8750.c index 245d56f..8243ca5 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); |