fix build with gcc15 + httperf-gcc15.patch OBS-URL: https://build.opensuse.org/package/show/benchmark/httperf?expand=0&rev=20
14 lines
429 B
Diff
14 lines
429 B
Diff
Index: httperf-0.9.0+git.20201206/src/httperf.c
|
|
===================================================================
|
|
--- httperf-0.9.0+git.20201206.orig/src/httperf.c
|
|
+++ httperf-0.9.0+git.20201206/src/httperf.c
|
|
@@ -1381,7 +1381,7 @@ main(int argc, char **argv)
|
|
}
|
|
core_init();
|
|
|
|
- signal(SIGINT, (void (*)()) core_exit);
|
|
+ signal(SIGINT, (void (*)(int)) core_exit);
|
|
|
|
for (i = 0; i < num_stats; ++i)
|
|
(*stat[i]->init) ();
|