summaryrefslogtreecommitdiffstats
path: root/libelf/elf_getscn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/elf_getscn.c')
-rw-r--r--libelf/elf_getscn.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libelf/elf_getscn.c b/libelf/elf_getscn.c
index 7c6b7dee..9f7213b4 100644
--- a/libelf/elf_getscn.c
+++ b/libelf/elf_getscn.c
@@ -1,5 +1,5 @@
/* Get section at specific index.
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Red Hat, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2015 Red Hat, Inc.
This file is part of elfutils.
Contributed by Ulrich Drepper <drepper@redhat.com>, 1998.
@@ -39,9 +39,7 @@
Elf_Scn *
-elf_getscn (elf, idx)
- Elf *elf;
- size_t idx;
+elf_getscn (Elf *elf, size_t idx)
{
if (elf == NULL)
return NULL;