X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libelf%2Felf_kind.c;h=0fb3f0c2914e3568d21682b0f9de764f39b2fe57;hb=82c3b58b54026d061a4d81ad95f3023d5d883ab2;hp=d8ab2fddf426d540f060b46bb523bd0fa9bfe629;hpb=a286dd013ef8d46edf013efc0908822a59d8ac81;p=platform%2Fupstream%2Felfutils.git diff --git a/libelf/elf_kind.c b/libelf/elf_kind.c index d8ab2fd..0fb3f0c 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 , 1998. @@ -38,8 +38,7 @@ Elf_Kind -elf_kind (elf) - Elf *elf; +elf_kind (Elf *elf) { return elf == NULL ? ELF_K_NONE : elf->kind; }