Skip to content

Commit

Permalink
fix: add missing static on function get_symbols_at_off
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier authored Jul 28, 2024
1 parent c10aa14 commit 74f2005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ std::vector<std::string> get_symbols(HMODULE hModule, bool demangle) {
#include <fcntl.h>
#include <unistd.h>

std::vector<std::string> get_symbols_at_off(int fd, bool demangle, off_t offset, bool is_64_bit) {
static std::vector<std::string> get_symbols_at_off(int fd, bool demangle, off_t offset, bool is_64_bit) {
std::vector<std::string> result;

lseek(fd, offset, SEEK_SET);
Expand Down

0 comments on commit 74f2005

Please sign in to comment.