File pdfcrack-0.21-fix-build.patch of Package pdfcrack
Index: pdfcrack-0.21/main.c
===================================================================
--- pdfcrack-0.21.orig/main.c
+++ pdfcrack-0.21/main.c
@@ -37,7 +37,7 @@
/** alarmInterrupt is used to print out the progress at specific intervals */
static void
-alarmInterrupt(int) {
+alarmInterrupt(__attribute__((unused)) int signum) {
if(!printProgress())
alarm(PRINTERVAL);
}
Index: pdfcrack-0.21/benchmark.c
===================================================================
--- pdfcrack-0.21.orig/benchmark.c
+++ pdfcrack-0.21/benchmark.c
@@ -40,7 +40,7 @@ static volatile bool finished = false;
/** interruptBench is used to stop the current benchmark */
static void
-interruptBench(int) {
+interruptBench(__attribute__((unused)) int signum) {
finished = true;
}