summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-05 04:58:37 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-05 04:58:37 +0200
commite14e1d270cd25ebf02be66e9748e4b84ecbc4408 (patch)
tree87439811b6622a675e293eb29fed0be5f6dff92a /source
parent2a2b00777f312db7eb39e7d0f620c6382313a31c (diff)
downloadkit-e14e1d270cd25ebf02be66e9748e4b84ecbc4408.zip
windows fix
Diffstat (limited to 'source')
-rw-r--r--source/kit_test/bench.c2
-rw-r--r--source/kit_test/test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/kit_test/bench.c b/source/kit_test/bench.c
index cdd69d9..9386bfe 100644
--- a/source/kit_test/bench.c
+++ b/source/kit_test/bench.c
@@ -77,7 +77,7 @@ static void kit_bench_setup_signals() {
for (i = 0; i < sizeof signums / sizeof *signums; i++) {
#if (defined(_WIN32) && !defined(__CYGWIN__)) || \
!defined(_POSIX_C_SOURCE)
- signal(signums[i], handle_signal);
+ signal(signums[i], kit_bench_handle_signal);
#else
struct sigaction action;
memset(&action, 0, sizeof action);
diff --git a/source/kit_test/test.c b/source/kit_test/test.c
index 034d1e7..41ee715 100644
--- a/source/kit_test/test.c
+++ b/source/kit_test/test.c
@@ -48,7 +48,7 @@ static void kit_test_setup_signals() {
for (i = 0; i < sizeof signums / sizeof *signums; i++) {
#if (defined(_WIN32) && !defined(__CYGWIN__)) || \
!defined(_POSIX_C_SOURCE)
- signal(signums[i], handle_signal);
+ signal(signums[i], kit_test_handle_signal);
#else
struct sigaction action;
memset(&action, 0, sizeof action);