aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llama.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.cpp b/llama.cpp
index 1adeee5..096735c 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -296,7 +296,7 @@ struct llama_context_params llama_context_default_params() {
// model loading
//
-void * mmap_file(const char* fname) {
+static void * mmap_file(const char* fname) {
#if defined(MAP_FAILED)
// POSIX mmap
int fd = open(fname, O_RDONLY);