From 1f0961368f58a9fec319d86c79a86a9f0d008cf5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jan 2006 01:17:39 +0000 Subject: * remove a lot of compiler warnings introduced by using some new GCC flags * add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/memchunk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'polyp/memchunk.c') diff --git a/polyp/memchunk.c b/polyp/memchunk.c index d1c923f3..bfd74f9e 100644 --- a/polyp/memchunk.c +++ b/polyp/memchunk.c @@ -31,8 +31,8 @@ #include "memchunk.h" #include "xmalloc.h" -void pa_memchunk_make_writable(struct pa_memchunk *c, struct pa_memblock_stat *s, size_t min) { - struct pa_memblock *n; +void pa_memchunk_make_writable(pa_memchunk *c, pa_memblock_stat *s, size_t min) { + pa_memblock *n; size_t l; assert(c && c->memblock && c->memblock->ref >= 1); @@ -50,7 +50,7 @@ void pa_memchunk_make_writable(struct pa_memchunk *c, struct pa_memblock_stat *s c->index = 0; } -void pa_memchunk_reset(struct pa_memchunk *c) { +void pa_memchunk_reset(pa_memchunk *c) { assert(c); c->memblock = NULL; -- cgit