diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-12 18:18:56 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-12 18:18:56 +0000 |
commit | ba684cadb26bdbcaac8fb2b6f0739b44028fa3a7 (patch) | |
tree | 018531b9fcfb8c535df8043d13235994db7ac59c /hcid/main.c | |
parent | 020ac98f0656d3f95d1bb38ea546f145897446fa (diff) |
Remove signal handling for switching pairing
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 14 |
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); |