mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-04-27 02:20:19 +00:00
Function pointers require proper types now. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18572 Signed-off-by: Robert Marko <robimarko@gmail.com>
21 lines
314 B
Diff
21 lines
314 B
Diff
--- a/squashfs-tools/mksquashfs.c
|
|
+++ b/squashfs-tools/mksquashfs.c
|
|
@@ -290,7 +290,7 @@ void restorefs()
|
|
}
|
|
|
|
|
|
-void sighandler()
|
|
+void sighandler(int i)
|
|
{
|
|
if(interrupted == 1)
|
|
restorefs();
|
|
@@ -302,7 +302,7 @@ void sighandler()
|
|
}
|
|
|
|
|
|
-void sighandler2()
|
|
+void sighandler2(int i)
|
|
{
|
|
EXIT_MKSQUASHFS();
|
|
}
|