summaryrefslogtreecommitdiff
path: root/libebl/libebl.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-10-17 21:22:22 +0200
committerMark Wielaard <mark@klomp.org>2020-10-26 22:44:07 +0100
commitc505ddf9b1965ede67295943154bf6a0295eab52 (patch)
treeeb91983ab19f1587cd1f40021840eb8d4cec83b7 /libebl/libebl.h
parente6031e78d207e976c3add03be7294388cd375682 (diff)
downloadelfutils-c505ddf9b1965ede67295943154bf6a0295eab52.tar.gz
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 <mark@klomp.org>
Diffstat (limited to 'libebl/libebl.h')
-rw-r--r--libebl/libebl.h8
1 files changed, 0 insertions, 8 deletions
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