mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
* 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:
parent
6c512fb5a3
commit
1f0961368f
200 changed files with 3582 additions and 3468 deletions
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
#include "cpulimit.h"
|
||||
#include "mainloop.h"
|
||||
#include "gccmacro.h"
|
||||
|
||||
#ifdef TEST2
|
||||
#include "mainloop-signal.h"
|
||||
|
|
@ -42,7 +43,7 @@ static time_t start;
|
|||
|
||||
#ifdef TEST2
|
||||
|
||||
static void func(struct pa_mainloop_api *m, struct pa_signal_event *e, int sig, void *userdata) {
|
||||
static void func(pa_mainloop_api *m, PA_GCC_UNUSED pa_signal_event *e, PA_GCC_UNUSED int sig, PA_GCC_UNUSED void *userdata) {
|
||||
time_t now;
|
||||
time(&now);
|
||||
|
||||
|
|
@ -55,8 +56,8 @@ static void func(struct pa_mainloop_api *m, struct pa_signal_event *e, int sig,
|
|||
|
||||
#endif
|
||||
|
||||
int main() {
|
||||
struct pa_mainloop *m;
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
pa_mainloop *m;
|
||||
|
||||
m = pa_mainloop_new();
|
||||
assert(m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue