forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-mathematics/why3: Fix sa_handler signature
Closes: https://bugs.gentoo.org/944186 Signed-off-by: Alfredo Tupone <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/src/server/cpulimit-unix.c 2024-11-20 22:37:00.519645455 +0100 | ||
+++ b/src/server/cpulimit-unix.c 2024-11-20 22:39:55.096447774 +0100 | ||
@@ -42,7 +42,7 @@ | ||
} | ||
} | ||
|
||
-void wallclock_timelimit_reached() { | ||
+void wallclock_timelimit_reached(__attribute__((unused)) int signum) { | ||
fprintf(stderr, | ||
"Why3cpulimit: wallclock timelimit %d reached, killing command\n", | ||
wallclock_timelimit); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters