File: gcc-15.patch

package info (click to toggle)
udevil 0.4.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,608 kB
  • sloc: sh: 12,733; ansic: 6,018; makefile: 69
file content (27 lines) | stat: -rw-r--r-- 593 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
Description: Fix FTBFS with gcc-15
Author: Mateusz Łukasik <mati75@linuxmint.pl>
Bug-Debian: https://bugs.debian.org/1098028

Forwarded: no
Last-Update: 2025-04-30

--- a/src/udevil.c
+++ b/src/udevil.c
@@ -4795,7 +4795,7 @@ static int command_info( CommandData* da
     return ret;
 }
 
-void command_monitor_finalize()
+void command_monitor_finalize(int)
 {
     //if (signal == SIGINT || signal == SIGTERM)
     //printf( "\nudevil: SIGINT || SIGTERM\n");
@@ -4913,7 +4913,7 @@ finish_:
     return 1;
 }
 
-void command_interrupt()
+void command_interrupt(int)
 {
     if ( udev )
     {