Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@
#include "compat.h"

#ifdef SIGWINCH
static RETSIGTYPE sigwinch();
static RETSIGTYPE sigwinch(int sig);
#endif

static volatile int sigwinch_seen;

#ifdef SIGWINCH
/* Set the flag when the window size changes */
static RETSIGTYPE
sigwinch(sig)
int sig;
sigwinch(int sig)
{
sigwinch_seen = 1;
}
Expand Down