gentoo-ebuilds/net-analyzer/yersinia/files/yersinia-0.8.2-C23.patch
NHOrus ea83bb053b
net-analyzer/yersinia: Port to C23
Bug: https://bugs.gentoo.org/943801
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40014
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 09:19:55 +00:00

12 lines
348 B
Diff

diff -ru a/src/yersinia.c b/src/yersinia.c
--- a/src/yersinia.c 2025-01-06 20:10:12.501482780 +0400
+++ b/src/yersinia.c 2025-01-06 20:11:08.635172681 +0400
@@ -927,7 +927,7 @@
* POSIX functions for signals
*/
int
-posix_signal( int signo, void (*handler)() )
+posix_signal( int signo, void (*handler)(int) )
{
struct sigaction act;