Skip to content

Commit 6e65569

Browse files
committed
ggml-backend : unify the dl_load_library() return type
Use the unified type 'dl_handle' instead of 'void' directly, to match the Windows 'dl_load_library()' definition.
1 parent adc7634 commit 6e65569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-backend-reg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ struct dl_handle_deleter {
145145
}
146146
};
147147

148-
static void * dl_load_library(const fs::path & path) {
148+
static dl_handle * dl_load_library(const fs::path & path) {
149149
dl_handle * handle = dlopen(path.string().c_str(), RTLD_NOW | RTLD_LOCAL);
150150

151151
return handle;

0 commit comments

Comments
 (0)