aboutsummaryrefslogtreecommitdiff
path: root/tools/squashfs3-lzma/patches/160-gcc15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/squashfs3-lzma/patches/160-gcc15.patch')
-rw-r--r--tools/squashfs3-lzma/patches/160-gcc15.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/squashfs3-lzma/patches/160-gcc15.patch b/tools/squashfs3-lzma/patches/160-gcc15.patch
new file mode 100644
index 0000000000..542fa52202
--- /dev/null
+++ b/tools/squashfs3-lzma/patches/160-gcc15.patch
@@ -0,0 +1,20 @@
+--- 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();
+ }