mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -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
|
@ -238,7 +238,7 @@ static char *audio_alloc_prefix (const char *s)
|
|||
return r;
|
||||
}
|
||||
|
||||
const char *audio_audfmt_to_string (audfmt_e fmt)
|
||||
static const char *audio_audfmt_to_string (audfmt_e fmt)
|
||||
{
|
||||
switch (fmt) {
|
||||
case AUD_FMT_U8:
|
||||
|
@ -264,7 +264,8 @@ const char *audio_audfmt_to_string (audfmt_e fmt)
|
|||
return "S16";
|
||||
}
|
||||
|
||||
audfmt_e audio_string_to_audfmt (const char *s, audfmt_e defval, int *defaultp)
|
||||
static audfmt_e audio_string_to_audfmt (const char *s, audfmt_e defval,
|
||||
int *defaultp)
|
||||
{
|
||||
if (!strcasecmp (s, "u8")) {
|
||||
*defaultp = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue