From 6693375b52f2712ace6dc50b717de9cb371a7c2a Mon Sep 17 00:00:00 2001 From: Andre Date: Wed, 3 Jan 2007 00:41:40 +0100 Subject: [PATCH] remove duplicate prototypes for signal functions --- audiod.c | 1 + gui.c | 1 + para.h | 7 ------- server.c | 1 + 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/audiod.c b/audiod.c index d17ec5e9..e6e90418 100644 --- a/audiod.c +++ b/audiod.c @@ -37,6 +37,7 @@ #include "write.h" #include "write_common.h" #include "error.h" +#include "signal.h" /** define the array of error lists needed by para_audiod */ INIT_AUDIOD_ERRLISTS; diff --git a/gui.c b/gui.c index b94a6472..06641f75 100644 --- a/gui.c +++ b/gui.c @@ -25,6 +25,7 @@ #include "string.h" #include "fd.h" #include "error.h" +#include "signal.h" /** define the array of error lists needed by para_gui */ INIT_GUI_ERRLISTS; diff --git a/para.h b/para.h index b5a8f7bb..47d54a1f 100644 --- a/para.h +++ b/para.h @@ -118,13 +118,6 @@ int read_audiod_pipe(int, void (*)(char *)); /* exec */ int para_exec_cmdline_pid(pid_t *pid, const char *cmdline, int *fds); -/* signal */ -int para_signal_init(void); -int para_install_sighandler(int); -void para_reap_children(void); -pid_t para_reap_child(void); -int para_next_signal(void); - /* time */ int tv_diff(const struct timeval *b, const struct timeval *a, struct timeval *diff); long unsigned tv2ms(const struct timeval*); diff --git a/server.c b/server.c index 2cbc5a71..6195266b 100644 --- a/server.c +++ b/server.c @@ -42,6 +42,7 @@ #include "string.h" #include "ipc.h" #include "fd.h" +#include "signal.h" #include "user_list.h" /** define the array of error lists needed by para_server */ -- 2.39.5