aboutsummaryrefslogtreecommitdiff
path: root/src/library_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/library_loader.h')
-rw-r--r--src/library_loader.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/library_loader.h b/src/library_loader.h
index 1622521..fbd9cdf 100644
--- a/src/library_loader.h
+++ b/src/library_loader.h
@@ -32,11 +32,4 @@ static bool dlsym_load_list(void *handle, const dlsym_assign *dlsyms) {
return success;
}
-/* |dlsyms| should be null terminated */
-static void dlsym_load_list_optional(void *handle, const dlsym_assign *dlsyms) {
- for(int i = 0; dlsyms[i].func; ++i) {
- *dlsyms[i].func = dlsym_print_fail(handle, dlsyms[i].name, false);
- }
-}
-
#endif /* GSR_LIBRARY_LOADER_H */