diff options
Diffstat (limited to 'libelf/elf_kind.c')
-rw-r--r-- | libelf/elf_kind.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libelf/elf_kind.c b/libelf/elf_kind.c index d8ab2fdd..0fb3f0c2 100644 --- a/libelf/elf_kind.c +++ b/libelf/elf_kind.c @@ -1,5 +1,5 @@ /* Return the kind of file associated with the descriptor. - Copyright (C) 1998, 1999, 2000, 2002 Red Hat, Inc. + Copyright (C) 1998, 1999, 2000, 2002, 2015 Red Hat, Inc. This file is part of elfutils. Contributed by Ulrich Drepper <drepper@redhat.com>, 1998. @@ -38,8 +38,7 @@ Elf_Kind -elf_kind (elf) - Elf *elf; +elf_kind (Elf *elf) { return elf == NULL ? ELF_K_NONE : elf->kind; } |