]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Fixed sched_yield
authorMikhail Grigorev <redacted>
Sun, 30 Oct 2022 17:19:24 +0000 (22:19 +0500)
committerGeorgi Gerganov <redacted>
Sun, 30 Oct 2022 19:38:18 +0000 (21:38 +0200)
ggml.c

diff --git a/ggml.c b/ggml.c
index c59822d88f5e06b43aa3d734aaef5d29e83af732..1000a5b6b711e41fd092776dd9571d362ed8319a 100644 (file)
--- a/ggml.c
+++ b/ggml.c
@@ -45,7 +45,7 @@ static int pthread_join(pthread_t thread, void* unused) {
     return (int) WaitForSingleObject(thread, INFINITE);
 }
 
-int sched_yield (void) {
+static int sched_yield (void) {
     Sleep (0);
     return 0;
 }