From aa1c2ca808a267a5a3c372de5461c1f67f9a8869 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Fri, 4 Sep 2015 12:04:11 -0700 Subject: Replace some K&R function definitions with ansi-C definitions. Signed-off-by: Chih-Hung Hsieh Signed-off-by: Mark Wielaard --- backends/alpha_init.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'backends/alpha_init.c') diff --git a/backends/alpha_init.c b/backends/alpha_init.c index a3307d83..25c5b32f 100644 --- a/backends/alpha_init.c +++ b/backends/alpha_init.c @@ -40,11 +40,10 @@ const char * -alpha_init (elf, machine, eh, ehlen) - Elf *elf __attribute__ ((unused)); - GElf_Half machine __attribute__ ((unused)); - Ebl *eh; - size_t ehlen; +alpha_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)) -- cgit v1.2.3