From c505ddf9b1965ede67295943154bf6a0295eab52 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 17 Oct 2020 21:22:22 +0200 Subject: libebl: Remove unused ebl_syscall_abi. GCC11 -Warray-parameter warned about ebl_syscall_abi being inconsistently declared (once with a pointer to int, once with an array of 6 int elements). Since ebl_syscall_abi isn't actually used and was only implemented for 3 backends without any tests just remove it. Signed-off-by: Mark Wielaard --- libebl/libebl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libebl/libebl.h') diff --git a/libebl/libebl.h b/libebl/libebl.h index 23c0e950..731001d3 100644 --- a/libebl/libebl.h +++ b/libebl/libebl.h @@ -241,14 +241,6 @@ extern ssize_t ebl_register_info (Ebl *ebl, const char **prefix, const char **setname, int *bits, int *type); -/* Fill in the DWARF register numbers for the registers used in system calls. - The SP and PC are what kernel reports call the user stack pointer and PC. - The CALLNO and ARGS are the system call number and incoming arguments. - Each of these is filled with the DWARF register number corresponding, - or -1 if there is none. Returns zero when the information is available. */ -extern int ebl_syscall_abi (Ebl *ebl, int *sp, int *pc, - int *callno, int args[6]); - /* Supply the ABI-specified state of DWARF CFI before CIE initial programs. The DWARF 3.0 spec says that the default initial states of all registers -- cgit v1.2.3