diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-02 12:41:23 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-03-02 14:52:46 +0000 |
commit | 53695b83dcd15df981b131b2cdd927d9f984a966 (patch) | |
tree | 3ff0dcd2c1b6874350c69fec8d08509c90e0dff7 /src/utils | |
parent | 3f6eb652cba802227f292c207ba9f00a2e4321d7 (diff) |
Get rid of some unused-function compiler warnings
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/pacat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/pacat.c b/src/utils/pacat.c index 79936fd7..6cd01d21 100644 --- a/src/utils/pacat.c +++ b/src/utils/pacat.c @@ -604,6 +604,7 @@ static void stream_update_timing_callback(pa_stream *s, int success, void *userd fprintf(stderr, " \r"); } +#ifdef SIGUSR1 /* Someone requested that the latency is shown */ static void sigusr1_signal_callback(pa_mainloop_api*m, pa_signal_event *e, int sig, void *userdata) { @@ -612,6 +613,7 @@ static void sigusr1_signal_callback(pa_mainloop_api*m, pa_signal_event *e, int s pa_operation_unref(pa_stream_update_timing_info(stream, stream_update_timing_callback, NULL)); } +#endif static void time_event_callback(pa_mainloop_api *m, pa_time_event *e, const struct timeval *t, void *userdata) { if (stream && pa_stream_get_state(stream) == PA_STREAM_READY) { |