summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-03-12 18:18:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-03-12 18:18:56 +0000
commitba684cadb26bdbcaac8fb2b6f0739b44028fa3a7 (patch)
tree018531b9fcfb8c535df8043d13235994db7ac59c /hcid/main.c
parent020ac98f0656d3f95d1bb38ea546f145897446fa (diff)
Remove signal handling for switching pairing
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 842a5826..03b49ff1 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -432,16 +432,6 @@ static void init_defaults(void)
init_device_defaults(&default_device);
}
-static void sig_usr1(int sig)
-{
- toggle_pairing(0);
-}
-
-static void sig_usr2(int sig)
-{
- toggle_pairing(1);
-}
-
static void sig_term(int sig)
{
g_main_quit(event_loop);
@@ -616,10 +606,6 @@ int main(int argc, char *argv[], char *env[])
sigaction(SIGINT, &sa, NULL);
sa.sa_handler = sig_hup;
sigaction(SIGHUP, &sa, NULL);
- sa.sa_handler = sig_usr1;
- sigaction(SIGUSR1, &sa, NULL);
- sa.sa_handler = sig_usr2;
- sigaction(SIGUSR2, &sa, NULL);
sa.sa_handler = SIG_IGN;
sigaction(SIGCHLD, &sa, NULL);