summaryrefslogtreecommitdiff
path: root/backends/s390_init.c
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-09-04 12:04:11 -0700
committerMark Wielaard <mjw@redhat.com>2015-09-07 22:04:21 +0200
commitaa1c2ca808a267a5a3c372de5461c1f67f9a8869 (patch)
tree099c81057ef43a2717c6549f05b09d785889377d /backends/s390_init.c
parent2ec957327cdfae6cee592a52958a9c937ea4b13c (diff)
downloadelfutils-aa1c2ca808a267a5a3c372de5461c1f67f9a8869.tar.gz
Replace some K&R function definitions with ansi-C definitions.
Signed-off-by: Chih-Hung Hsieh <chh@google.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'backends/s390_init.c')
-rw-r--r--backends/s390_init.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/s390_init.c b/backends/s390_init.c
index 26b20b49..ba8df45d 100644
--- a/backends/s390_init.c
+++ b/backends/s390_init.c
@@ -41,11 +41,10 @@ extern __typeof (s390_core_note) s390x_core_note;
const char *
-s390_init (elf, machine, eh, ehlen)
- Elf *elf __attribute__ ((unused));
- GElf_Half machine __attribute__ ((unused));
- Ebl *eh;
- size_t ehlen;
+s390_init (Elf *elf __attribute__ ((unused)),
+ GElf_Half machine __attribute__ ((unused)),
+ Ebl *eh,
+ size_t ehlen)
{
/* Check whether the Elf_BH object has a sufficent size. */
if (ehlen < sizeof (Ebl))