Fixed C++ casting problems. free functions returns void

This commit is contained in:
Abramo Bagnara 2001-02-02 08:49:47 +00:00
parent 2110049f2f
commit 544718f10d
3 changed files with 15 additions and 16 deletions

View file

@ -523,7 +523,7 @@ int snd_pcm_info_malloc(snd_pcm_info_t **infop)
return 0;
}
int snd_pcm_info_free(snd_pcm_info_t *info)
void snd_pcm_info_free(snd_pcm_info_t *info)
{
assert(info);
free(info);
@ -634,7 +634,7 @@ int snd_pcm_status_malloc(snd_pcm_status_t **statusp)
return 0;
}
int snd_pcm_status_free(snd_pcm_status_t *status)
void snd_pcm_status_free(snd_pcm_status_t *status)
{
assert(status);
free(status);