From: Michael Tremer Date: Wed, 8 Jan 2025 15:04:40 +0000 (+0000) Subject: stripper: Rename functions X-Git-Tag: 0.9.30~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f86f05f4b592390fc9dcda66187fb49db78a0f;p=pakfire.git stripper: Rename functions Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/stripper.c b/src/pakfire/stripper.c index 4a21c1e2a..794145e48 100644 --- a/src/pakfire/stripper.c +++ b/src/pakfire/stripper.c @@ -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; }