Skip to content

Commit eb21dd1

Browse files
committed
llama : fix llm_type enum names
ggml-ci
1 parent 6002bd8 commit eb21dd1

File tree

5 files changed

+379
-380
lines changed

5 files changed

+379
-380
lines changed

src/llama-mmap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
// TODO: consider moving to llama-impl.h if needed in more places
3737
#if defined(_WIN32)
38-
std::string llama_format_win_err(DWORD err) {
38+
static std::string llama_format_win_err(DWORD err) {
3939
LPSTR buf;
4040
size_t size = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
4141
NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)&buf, 0, NULL);

0 commit comments

Comments
 (0)