From: Max Kellermann Date: Sun, 19 Mar 2017 10:20:39 +0000 (+0100) Subject: main: remove unused function sigstop() X-Git-Tag: v0.26~33 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=733a1b1f9db81d8fc87197ef7a772d8403a492bc;p=ncmpc.git main: remove unused function sigstop() --- 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);