Get rid of some unused-function compiler warnings

This commit is contained in:
Maarten Bosmans 2011-03-02 12:41:23 +01:00 committed by Colin Guthrie
parent 3f6eb652cb
commit 53695b83dc
5 changed files with 11 additions and 5 deletions

View file

@ -67,11 +67,11 @@ pa_bool_t pa_memtrap_is_good(pa_memtrap *m) {
return !pa_atomic_load(&m->bad);
}
#ifdef HAVE_SIGACTION
static void sigsafe_error(const char *s) {
(void) write(STDERR_FILENO, s, strlen(s));
}
#ifdef HAVE_SIGACTION
static void signal_handler(int sig, siginfo_t* si, void *data) {
unsigned j;
pa_memtrap *m;