mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
don't use PA_GCC_UNUSED anymore
This commit is contained in:
parent
9996213c41
commit
432b4e5f7d
40 changed files with 123 additions and 123 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <pulse/channelmap.h>
|
||||
#include <pulse/gccmacro.h>
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
int main(int argc, char *argv[]) {
|
||||
char cm[PA_CHANNEL_MAP_SNPRINT_MAX];
|
||||
pa_channel_map map, map2;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ static time_t start;
|
|||
|
||||
#ifdef TEST2
|
||||
|
||||
static void func(pa_mainloop_api *m, PA_GCC_UNUSED pa_signal_event *e, PA_GCC_UNUSED int sig, PA_GCC_UNUSED void *userdata) {
|
||||
static void func(pa_mainloop_api *m, pa_signal_event *e, int sig, void *userdata) {
|
||||
time_t now;
|
||||
time(&now);
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ static void func(pa_mainloop_api *m, PA_GCC_UNUSED pa_signal_event *e, PA_GCC_UN
|
|||
|
||||
#endif
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
int main(int argc, char *argv[]) {
|
||||
pa_mainloop *m;
|
||||
|
||||
m = pa_mainloop_new();
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ static void tcb(pa_mainloop_api*a, pa_time_event *e, const struct timeval *tv, v
|
|||
#endif
|
||||
}
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
int main(int argc, char *argv[]) {
|
||||
pa_mainloop_api *a;
|
||||
pa_io_event *ioe;
|
||||
pa_time_event *te;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
/* A simple program for testing pa_mcalign */
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
int main(int argc, char *argv[]) {
|
||||
pa_mempool *p;
|
||||
pa_mcalign *a;
|
||||
pa_memchunk c;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#define BUFSIZE 1024
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, char*argv[]) {
|
||||
int main(int argc, char*argv[]) {
|
||||
|
||||
/* The Sample format to use */
|
||||
static const pa_sample_spec ss = {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ static ssize_t loop_write(int fd, const void*data, size_t size) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, char*argv[]) {
|
||||
int main(int argc, char*argv[]) {
|
||||
/* The sample type to use */
|
||||
static const pa_sample_spec ss = {
|
||||
.format = PA_SAMPLE_S16LE,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <pulsecore/strlist.h>
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char* argv[]) {
|
||||
int main(int argc, char* argv[]) {
|
||||
char *t, *u;
|
||||
pa_strlist *l = NULL;
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ static void tcb(pa_mainloop_api*a, pa_time_event *e, const struct timeval *tv, v
|
|||
fprintf(stderr, "TIME EVENT END\n");
|
||||
}
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
int main(int argc, char *argv[]) {
|
||||
pa_mainloop_api *a;
|
||||
pa_threaded_mainloop *m;
|
||||
struct timeval tv;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <pulse/volume.h>
|
||||
#include <pulse/gccmacro.h>
|
||||
|
||||
int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
|
||||
int main(int argc, char *argv[]) {
|
||||
pa_volume_t v;
|
||||
|
||||
for (v = PA_VOLUME_MUTED; v <= PA_VOLUME_NORM*2; v += 256) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue