mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4c1b1bfe30
commit
9596ebb701
48 changed files with 137 additions and 145 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue