iankelling.org
/
git
/
evhz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59b2d7
)
fix compiling with the latest gcc
master
origin/master
author
Ian Kelling
<iank@fsf.org>
Thu, 9 Oct 2025 20:14:09 +0000
(16:14 -0400)
committer
Ian Kelling
<iank@fsf.org>
Thu, 9 Oct 2025 20:14:09 +0000
(16:14 -0400)
due to incorrect signature of the signal handler function.
Patch authored by Jamie Learmonth <jrlearmonth@gmail.com>
evhz.c
patch
|
blob
|
history
diff --git
a/evhz.c
b/evhz.c
index 950f727fcc6a7cd379fc76e153420878bfed6208..ff7b43cc1ec796d2fc164270a4369ea328c52141 100644
(file)
--- a/
evhz.c
+++ b/
evhz.c
@@
-39,7
+39,7
@@
typedef struct event_s {
int quit = 0;
-void sigint() {
+void sigint(
int sig
) {
quit = 1;
}