30 lines
529 B
C
Executable File
30 lines
529 B
C
Executable File
/* Copyright (c) 1988 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
#pragma ident "@(#)kind.c 1.4 92/07/17 SMI" /* SVr4.0 1.4 */
|
|
|
|
/*LINTLIBRARY*/
|
|
|
|
#ifdef __STDC__
|
|
#pragma weak elf_kind = _elf_kind
|
|
#endif
|
|
|
|
|
|
#include "syn.h"
|
|
#include "libelf.h"
|
|
#include "decl.h"
|
|
|
|
|
|
Elf_Kind
|
|
elf_kind(elf)
|
|
Elf *elf;
|
|
{
|
|
if (elf == 0)
|
|
return ELF_K_NONE;
|
|
return elf->ed_kind;
|
|
}
|