diff options
author | Slaren <2141330+slaren@users.noreply.github.com> | 2023-03-29 06:18:18 +0200 |
---|---|---|
committer | Justine Tunney <jtunney@gmail.com> | 2023-03-30 12:28:25 -0700 |
commit | d68c5dc4356c8f49e933df210f2ceca5002a8118 (patch) | |
tree | cf4df969ec140d9dca19646b390bfdce3200d1df | |
parent | 64bde3ffd4aef799acb790a3eedddbd0a0612108 (diff) |
Make mmap_file static
-rw-r--r-- | llama.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |