diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-05-17 12:56:55 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-05-17 12:56:55 +0200 |
commit | 23bc8818b3282745a640853ce93a66df4a2da4ba (patch) | |
tree | 38144aec89eaa171716be25f82cb40c13da82e62 /src/library_loader.h | |
parent | 81eef850242ea988366546dcb94137fd44d817c7 (diff) |
Fix all warnings
Diffstat (limited to 'src/library_loader.h')
-rw-r--r-- | src/library_loader.h | 7 |
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 */ |