remove duplicate prototypes for signal functions
authorAndre <maan@p133.(none)>
Tue, 2 Jan 2007 23:41:40 +0000 (00:41 +0100)
committerAndre <maan@p133.(none)>
Tue, 2 Jan 2007 23:41:40 +0000 (00:41 +0100)
audiod.c
gui.c
para.h
server.c

index d17ec5e..e6e9041 100644 (file)
--- 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 b94a647..06641f7 100644 (file)
--- 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 b5a8f7b..47d54a1 100644 (file)
--- 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*);
index 2cbc5a7..6195266 100644 (file)
--- 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 */