Skip to content

Commit

Permalink
fix: explicitly set extern for ggml_metal_file.c
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Sep 28, 2023
1 parent 31e7f3c commit 20e6e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
#undef GGML_METAL_DECL_KERNEL
};

const char ggml_metal_file[];
const size_t ggml_metal_file_len;
extern const char ggml_metal_file[];
extern const size_t ggml_metal_file_len;

// MSL code
// TODO: move the contents here when ready
Expand Down

0 comments on commit 20e6e94

Please sign in to comment.