summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 315bf04)
raw | patch | inline | side by side (parent: 315bf04)
author | Max Kellermann <max.kellermann@gmail.com> | |
Sun, 19 Mar 2017 10:20:39 +0000 (11:20 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Sun, 19 Mar 2017 10:20:39 +0000 (11:20 +0100) |
src/main.c | patch | blob | history | |
src/ncmpc.h | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index 47a5670cef21e810a063d487e017678ddf93b306..bc16eac8cc8b0a9ada881c2c7a44eb2dbd72de24 100644 (file)
--- a/src/main.c
+++ b/src/main.c
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 5ac3ce5a5406e36e7564621b85c571d5ba8ac8a1..2ca79ad55b2f1e07f024743aeae312a4c20c4e4b 100644 (file)
--- a/src/ncmpc.h
+++ b/src/ncmpc.h
#include <stdbool.h>
-/** put the terminal in a sane mode and stop/suspend ncmpc */
-void
-sigstop(void);
-
void begin_input_event(void);
void end_input_event(void);