X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftty%2Flib_tstp.c;h=f228f72be84dcb08075cd4bd43d2f9b03b41010b;hp=ec086ca730c8dce69ec4b845d6f62ef0d0cf2cb4;hb=aaa5142e4bdde469fbc59d1c91455cbd0c45281a;hpb=1a0bb95ebd085cdfd60b68c7b3cccbb31493d6d5 diff --git a/ncurses/tty/lib_tstp.c b/ncurses/tty/lib_tstp.c index ec086ca7..f228f72b 100644 --- a/ncurses/tty/lib_tstp.c +++ b/ncurses/tty/lib_tstp.c @@ -43,7 +43,7 @@ #include -MODULE_ID("$Id: lib_tstp.c,v 1.52 2022/08/13 14:36:43 tom Exp $") +MODULE_ID("$Id: lib_tstp.c,v 1.53 2022/10/15 13:09:05 Mikhail.Korolev Exp $") #if defined(SIGTSTP) && (HAVE_SIGACTION || HAVE_SIGVEC) #define USE_SIGTSTP 1 @@ -283,8 +283,6 @@ handle_SIGINT(int sig) _exit(EXIT_FAILURE); } -#if USE_SIGWINCH - # ifndef _nc_set_read_thread NCURSES_EXPORT(void) _nc_set_read_thread(bool enable) @@ -300,6 +298,8 @@ _nc_set_read_thread(bool enable) } # endif +#if USE_SIGWINCH + static void handle_SIGWINCH(int sig GCC_UNUSED) {