summaryrefslogtreecommitdiff
path: root/net-analyzer/pktstat/files/pktstat-1.8.5-gcc15.patch
blob: 112e6832d6f3abedae972f1cbf4472785f946d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
 }