summaryrefslogtreecommitdiffstats
path: root/backends/ppc64_init.c
diff options
context:
space:
mode:
authorChih-Hung Hsieh <[email protected]>2015-09-04 12:04:11 -0700
committerMark Wielaard <[email protected]>2015-09-07 22:04:21 +0200
commitaa1c2ca808a267a5a3c372de5461c1f67f9a8869 (patch)
tree099c81057ef43a2717c6549f05b09d785889377d /backends/ppc64_init.c
parent2ec957327cdfae6cee592a52958a9c937ea4b13c (diff)
Replace some K&R function definitions with ansi-C definitions.
Signed-off-by: Chih-Hung Hsieh <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ppc64_init.c')
-rw-r--r--backends/ppc64_init.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/ppc64_init.c b/backends/ppc64_init.c
index 56e1828e..2ba82327 100644
--- a/backends/ppc64_init.c
+++ b/backends/ppc64_init.c
@@ -42,11 +42,10 @@
const char *
-ppc64_init (elf, machine, eh, ehlen)
- Elf *elf __attribute__ ((unused));
- GElf_Half machine __attribute__ ((unused));
- Ebl *eh;
- size_t ehlen;
+ppc64_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))