Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2340813 When building makekdumpfile against gcc-15, the following error is shown, erase_info.c: In function ‘process_eppic_file’: erase_info.c:2226:13: error: too many arguments to function ‘eppic_init’; expected 0, have 1 2226 | if (eppic_init(&eppic_cb)) { | ^~~~~~~~~~ ~~~~~~~~~ make: *** [Makefile:109: erase_info.o] Error 1 Signed-off-by: Coiby Xu <coxu@xxxxxxxxxx> --- erase_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erase_info.c b/erase_info.c index cbe1681..af6bfae 100644 --- a/erase_info.c +++ b/erase_info.c @@ -2192,7 +2192,7 @@ process_eppic_file(char *name_config) { void *handle; void (*eppic_load)(char *), (*eppic_unload)(char *); - int (*eppic_init)(); + int (*eppic_init)(struct call_back *); /* * Dynamically load the eppic_makedumpfile.so library. -- 2.48.1