aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-04-29 19:28:36 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-04-29 19:28:36 +0300
commit0b5a9350993e6fc8be45dc2a3eafc1fd0812d392 (patch)
tree08461db2e3a4d6a40227fc6c678e7edecd775363 /ggml.h
parentec728e44d7488c2da3560970317708b2b12b9c04 (diff)
ggml : fix visibility and unused warnings
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml.h b/ggml.h
index 38ae9a6..c1c5495 100644
--- a/ggml.h
+++ b/ggml.h
@@ -701,8 +701,8 @@ extern "C" {
struct ggml_tensor * c1);
// Mapping operations
- GGML_API typedef void (*ggml_unary_op_f32_t)(const int, float *, const float *);
- GGML_API typedef void (*ggml_binary_op_f32_t)(const int, float *, const float *, const float *);
+ typedef void (*ggml_unary_op_f32_t)(const int, float *, const float *);
+ typedef void (*ggml_binary_op_f32_t)(const int, float *, const float *, const float *);
GGML_API struct ggml_tensor * ggml_map_unary_f32(
struct ggml_context * ctx,