* 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
This commit is contained in:
Lennart Poettering 2006-01-11 01:17:39 +00:00
parent 6c512fb5a3
commit 1f0961368f
200 changed files with 3582 additions and 3468 deletions

View file

@ -33,12 +33,13 @@
#include "util.h"
#include "mcalign.h"
#include "gccmacro.h"
/* A simple program for testing pa_mcalign */
int main(int argc, char *argv[]) {
struct pa_mcalign *a = pa_mcalign_new(11, NULL);
struct pa_memchunk c;
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
pa_mcalign *a = pa_mcalign_new(11, NULL);
pa_memchunk c;
pa_memchunk_reset(&c);
@ -76,7 +77,7 @@ int main(int argc, char *argv[]) {
}
for (;;) {
struct pa_memchunk t;
pa_memchunk t;
if (pa_mcalign_pop(a, &t) < 0)
break;