Skip to content

Commit d5c6452

Browse files
nehebrobimarko
authored andcommitted
tools/squashfs3-lzma: fix compilation with GCC15
Function pointers require proper types now. Signed-off-by: Rosen Penev <[email protected]> Link: openwrt/openwrt#18572 Signed-off-by: Robert Marko <[email protected]>
1 parent 0e05cd6 commit d5c6452

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
--- a/squashfs-tools/mksquashfs.c
2+
+++ b/squashfs-tools/mksquashfs.c
3+
@@ -290,7 +290,7 @@ void restorefs()
4+
}
5+
6+
7+
-void sighandler()
8+
+void sighandler(int i)
9+
{
10+
if(interrupted == 1)
11+
restorefs();
12+
@@ -302,7 +302,7 @@ void sighandler()
13+
}
14+
15+
16+
-void sighandler2()
17+
+void sighandler2(int i)
18+
{
19+
EXIT_MKSQUASHFS();
20+
}

0 commit comments

Comments
 (0)