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