spa: don't use typedef for struct and enum

This commit is contained in:
Wim Taymans 2017-05-25 13:28:15 +02:00
parent 83964cec87
commit 11f23a3ffa
163 changed files with 6510 additions and 8264 deletions

View file

@ -75,7 +75,7 @@ static inline int memfd_create(const char *name, unsigned int flags) {
#undef USE_MEMFD
SpaResult
int
pw_memblock_map (struct pw_memblock *mem)
{
if (mem->ptr != NULL)
@ -118,7 +118,7 @@ pw_memblock_map (struct pw_memblock *mem)
return SPA_RESULT_OK;
}
SpaResult
int
pw_memblock_alloc (enum pw_memblock_flags flags,
size_t size,
struct pw_memblock *mem)