ea5461
commit 58a7aa900bc2d9822b0d0cb596ba95a21ff0fd2d
ea5461
Author: Mark Wielaard <mark@klomp.org>
ea5461
Date:   Wed Nov 2 17:54:11 2022 +0100
ea5461
ea5461
    debuginfod: Mark extract_section function static
ea5461
    
ea5461
    The extract_section function in debuginfod-client.c is an internal
ea5461
    function and should not be exported. Mark it as static.
ea5461
    
ea5461
    Signed-off-by: Mark Wielaard <mark@klomp.org>
ea5461
ea5461
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
ea5461
index 0c4a00cf..f48e32cc 100644
ea5461
--- a/debuginfod/debuginfod-client.c
ea5461
+++ b/debuginfod/debuginfod-client.c
ea5461
@@ -621,7 +621,7 @@ path_escape (const char *src, char *dest)
ea5461
    section name was not found.  -EEXIST indicates that the section was
ea5461
    found but had type SHT_NOBITS.  */
ea5461
 
ea5461
-int
ea5461
+static int
ea5461
 extract_section (int fd, const char *section, char *fd_path, char **usr_path)
ea5461
 {
ea5461
   elf_version (EV_CURRENT);