diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-09-04 12:04:11 -0700 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-09-07 22:04:21 +0200 |
commit | aa1c2ca808a267a5a3c372de5461c1f67f9a8869 (patch) | |
tree | 099c81057ef43a2717c6549f05b09d785889377d /backends/s390_init.c | |
parent | 2ec957327cdfae6cee592a52958a9c937ea4b13c (diff) | |
download | elfutils-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.c | 9 |
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)) |