mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 22:25:42 +02:00
Closes: https://bugs.gentoo.org/945321 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/41924 Closes: https://github.com/gentoo/gentoo/pull/41924 Signed-off-by: Sam James <sam@gentoo.org>
24 lines
489 B
Diff
24 lines
489 B
Diff
https://github.com/dleonard0/pktstat/pull/6
|
|
https://bugs.gentoo.org/945321
|
|
|
|
--- a/resize.c
|
|
+++ b/resize.c
|
|
@@ -36,7 +36,7 @@
|
|
#include "compat.h"
|
|
|
|
#ifdef SIGWINCH
|
|
-static RETSIGTYPE sigwinch();
|
|
+static RETSIGTYPE sigwinch(int sig);
|
|
#endif
|
|
|
|
static volatile int sigwinch_seen;
|
|
@@ -44,8 +44,7 @@ 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;
|
|
}
|