]> git.ipfire.org Git - people/ric9/pakfire.git/commitdiff
stripper: Rename functions
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 8 Jan 2025 15:04:40 +0000 (15:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 8 Jan 2025 15:04:40 +0000 (15:04 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/stripper.c

index 4a21c1e2a6893f490a78f20c4f40842832414c2b..794145e48e247c4ca8cca0538b82d5d07e92beec 100644 (file)
@@ -325,7 +325,7 @@ ERROR:
        return r;
 }
 
-static int pakfire_stripper_extract_debug_sections(struct pakfire_stripper* self,
+static int pakfire_stripper_extract_debuginfo(struct pakfire_stripper* self,
                struct pakfire_file* file, struct pakfire_elf* elf, const char* build_id_path) {
        int r;
 
@@ -363,7 +363,7 @@ static int pakfire_stripper_extract_debug_sections(struct pakfire_stripper* self
        return 0;
 }
 
-static int pakfire_stripper_strip_debug_sections(struct pakfire_stripper* self,
+static int pakfire_stripper_strip_debuginfo(struct pakfire_stripper* self,
                struct pakfire_file* file, struct pakfire_elf* elf) {
        const char* build_id = NULL;
        char build_id_path[PATH_MAX];
@@ -422,7 +422,7 @@ static int pakfire_stripper_strip_debug_sections(struct pakfire_stripper* self,
                if (r < 0)
                        goto ERROR;
 
-               r = pakfire_stripper_extract_debug_sections(self, file, elf, build_id_path);
+               r = pakfire_stripper_extract_debuginfo(self, file, elf, build_id_path);
                if (r < 0)
                        goto ERROR;
        }
@@ -502,7 +502,7 @@ static int pakfire_stripper_strip(
                        goto ERROR;
 
                // Strip debug information
-               r = pakfire_stripper_strip_debug_sections(self, file, elf);
+               r = pakfire_stripper_strip_debuginfo(self, file, elf);
                if (r < 0)
                        goto ERROR;
        }