File: incompatible-pointer-types.patch

package info (click to toggle)
cowpatty 4.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 520 kB
  • sloc: ansic: 3,634; makefile: 121
file content (38 lines) | stat: -rw-r--r-- 971 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
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: Fix FTBFS with GCC-15 (Closes: #1096465).
Author: Sven Geuer <sge@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096465
Forwarded: no
Last-Update: 2025-09-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/cowpatty.c
+++ b/cowpatty.c
@@ -61,7 +61,7 @@
 void hexdump(unsigned char *data, int len);
 void usage(char *message);
 void testopts(struct user_opt *opt);
-void cleanup();
+void cleanup(int unused);
 void parseopts(struct user_opt *opt, int argc, char **argv);
 void closepcap(struct capture_data *capdata);
 void handle_dot1x(struct crack_data *cdata, struct capture_data *capdata,
@@ -91,7 +91,7 @@
 	       "\t-V \tPrint program version and exit\n" "\n");
 }
 
-void cleanup()
+void cleanup(int unused)
 {
 	/* lame-o-meter++ */
 	sig = 1;
--- a/genpmk.c
+++ b/genpmk.c
@@ -53,7 +53,7 @@
 		"argument.\n");
 }
 
-void cleanup()
+void cleanup(int unused)
 {
 	/* lame-o-meter++ */
 	sig = 1;