Skip to content

Commit

Permalink
Remove undefined functions declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Atre <[email protected]>
  • Loading branch information
SAtacker committed Jan 27, 2024
1 parent f6d467d commit 45dafa6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Interpreter/Paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ namespace platform {
return lib.getOSSpecificHandle();
}

void DLClose(void* Lib, std::string* Err /* = nullptr*/) {
void DLClose(void* Lib, std::string& Err /* = nullptr*/) {
auto dl = llvm::sys::DynamicLibrary(Lib);
llvm::sys::DynamicLibrary::closeLibrary(dl);
if (Err) {
Expand Down
2 changes: 0 additions & 2 deletions lib/Interpreter/Paths.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ std::string NormalizePath(const std::string& Path);
///
void* DLOpen(const std::string& Path, std::string& Err);

void* DLSym(const std::string& Name, std::string& Err);

///\brief Close a handle to a shared library.
///
/// \param [in] Lib - Handle to library from previous call to DLOpen
Expand Down

0 comments on commit 45dafa6

Please sign in to comment.