From 74f2005d88d819e18dda456c3a4cc515d408bb37 Mon Sep 17 00:00:00 2001 From: Martin Olivier Date: Sun, 28 Jul 2024 19:57:01 +0200 Subject: [PATCH] fix: add missing static on function get_symbols_at_off Signed-off-by: Martin Olivier --- src/symbols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbols.cpp b/src/symbols.cpp index a4a63c9..463129f 100644 --- a/src/symbols.cpp +++ b/src/symbols.cpp @@ -82,7 +82,7 @@ std::vector get_symbols(HMODULE hModule, bool demangle) { #include #include -std::vector get_symbols_at_off(int fd, bool demangle, off_t offset, bool is_64_bit) { +static std::vector get_symbols_at_off(int fd, bool demangle, off_t offset, bool is_64_bit) { std::vector result; lseek(fd, offset, SEEK_SET);