From 733a1b1f9db81d8fc87197ef7a772d8403a492bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 19 Mar 2017 11:20:39 +0100 Subject: [PATCH] main: remove unused function sigstop() --- src/main.c | 8 -------- src/ncmpc.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/src/main.c b/src/main.c index 47a5670..bc16eac 100644 --- a/src/main.c +++ b/src/main.c @@ -103,14 +103,6 @@ catch_sigcont(gcc_unused int sig) exit(EXIT_FAILURE); } -void -sigstop(void) -{ - def_prog_mode(); /* save the tty modes */ - endwin(); /* end curses mode temporarily */ - kill(0, SIGSTOP); /* issue SIGSTOP */ -} - static gboolean sigwinch_event(gcc_unused GIOChannel *source, gcc_unused GIOCondition condition, gcc_unused gpointer data) diff --git a/src/ncmpc.h b/src/ncmpc.h index 5ac3ce5..2ca79ad 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -24,10 +24,6 @@ #include -/** put the terminal in a sane mode and stop/suspend ncmpc */ -void -sigstop(void); - void begin_input_event(void); void end_input_event(void); -- 2.30.2