diff options
| author | Chih-Hung Hsieh <[email protected]> | 2015-09-04 12:04:11 -0700 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-09-07 22:04:21 +0200 |
| commit | aa1c2ca808a267a5a3c372de5461c1f67f9a8869 (patch) | |
| tree | 099c81057ef43a2717c6549f05b09d785889377d /backends/sparc_init.c | |
| parent | 2ec957327cdfae6cee592a52958a9c937ea4b13c (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/sparc_init.c')
| -rw-r--r-- | backends/sparc_init.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/sparc_init.c b/backends/sparc_init.c index 7d229981..18d73494 100644 --- a/backends/sparc_init.c +++ b/backends/sparc_init.c @@ -40,11 +40,10 @@ extern __typeof (EBLHOOK (core_note)) sparc64_core_note attribute_hidden; const char * -sparc_init (elf, machine, eh, ehlen) - Elf *elf __attribute__ ((unused)); - GElf_Half machine __attribute__ ((unused)); - Ebl *eh; - size_t ehlen; +sparc_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)) |
