mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
fix a couple of issues I found when compiling polypaudio with gcc 2.95
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@754 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
60008cb115
commit
746adcfed5
13 changed files with 15 additions and 13 deletions
|
|
@ -43,7 +43,7 @@ struct pa_browser {
|
|||
pa_io_event *io_event;
|
||||
};
|
||||
|
||||
static void io_callback(pa_mainloop_api*a, pa_io_event*e, int fd, pa_io_event_flags_t events, void *userdata) {
|
||||
static void io_callback(pa_mainloop_api*a, PA_GCC_UNUSED pa_io_event*e, PA_GCC_UNUSED int fd, pa_io_event_flags_t events, void *userdata) {
|
||||
pa_browser *b = userdata;
|
||||
assert(a && b && b->mainloop == a);
|
||||
|
||||
|
|
|
|||
|
|
@ -955,7 +955,7 @@ const char* pa_context_get_server(pa_context *c) {
|
|||
return c->server;
|
||||
}
|
||||
|
||||
uint32_t pa_context_get_protocol_version(pa_context *c) {
|
||||
uint32_t pa_context_get_protocol_version(PA_GCC_UNUSED pa_context *c) {
|
||||
return PA_PROTOCOL_VERSION;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ typedef enum pa_seek_mode {
|
|||
PA_SEEK_RELATIVE = 0, /**< Seek relatively to the write index */
|
||||
PA_SEEK_ABSOLUTE = 1, /**< Seek relatively to the start of the buffer queue */
|
||||
PA_SEEK_RELATIVE_ON_READ = 2, /**< Seek relatively to the read index. */
|
||||
PA_SEEK_RELATIVE_END = 3, /**< Seek relatively to the current end of the buffer queue. */
|
||||
PA_SEEK_RELATIVE_END = 3 /**< Seek relatively to the current end of the buffer queue. */
|
||||
} pa_seek_mode_t;
|
||||
|
||||
/** Special sink flags. \since 0.8 */
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@ static void invalidate_indexes(pa_stream *s, int r, int w) {
|
|||
request_auto_timing_update(s, 1);
|
||||
}
|
||||
|
||||
static void auto_timing_update_callback(pa_mainloop_api *m, pa_time_event *e, PA_GCC_UNUSED const struct timeval *tv, void *userdata) {
|
||||
static void auto_timing_update_callback(PA_GCC_UNUSED pa_mainloop_api *m, PA_GCC_UNUSED pa_time_event *e, PA_GCC_UNUSED const struct timeval *tv, void *userdata) {
|
||||
pa_stream *s = userdata;
|
||||
|
||||
/* pa_log("time event"); */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue