From 28e787574b7043baf7b7b073dce1374fe3a67b2b Mon Sep 17 00:00:00 2001 From: anzz1 Date: Sun, 2 Apr 2023 15:39:59 +0300 Subject: [PATCH] Revert "Make mmap_file static" This reverts commit d68c5dc4356c8f49e933df210f2ceca5002a8118. --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index 6cf9db133..359f1f09e 100644 --- a/llama.cpp +++ b/llama.cpp @@ -296,7 +296,7 @@ struct llama_context_params llama_context_default_params() { // model loading // -static void * mmap_file(const char* fname) { +void * mmap_file(const char* fname) { #if defined(MAP_FAILED) // POSIX mmap int fd = open(fname, O_RDONLY);