File: gcc-15.patch

package info (click to toggle)
pktstat 1.8.5-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 916 kB
  • sloc: ansic: 9,195; sh: 1,032; makefile: 34
file content (25 lines) | stat: -rw-r--r-- 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097594

--- pktstat-1.8.5.orig/resize.c
+++ pktstat-1.8.5/resize.c
@@ -35,17 +35,12 @@
 
 #include "compat.h"
 
-#ifdef SIGWINCH
-static RETSIGTYPE sigwinch();
-#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;
 }