summaryrefslogtreecommitdiff
path: root/net-wireless/wepattack/files/wepattack-0.1.3-signals.patch
blob: 90b694d08f8bb01666f960cb8b9b3ada9c2a05d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix signature for signal handler
https://bugs.gentoo.org/944166
--- a/src/wepattack.c
+++ b/src/wepattack.c
@@ -216,7 +216,7 @@
 //
 // signal handler for ctrl+c
 //
-void sigint() {
+void sigint(int) {
 
 	printf("\nAborting... writing result to '%s'\n", logfile);