From 680df75eef352f77ca2d4671b7a7532b9c5bffc0 Mon Sep 17 00:00:00 2001 From: jdp Date: Sat, 29 Mar 1997 22:26:03 +0000 Subject: Fix broken built-in ELF file handling, caused by missing prototypes and use of off_t. Correct the types of Elf64_Addr and Elf64_Off. --- usr.bin/file/readelf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/file/readelf.h') diff --git a/usr.bin/file/readelf.h b/usr.bin/file/readelf.h index c4b42d7..853eed6 100644 --- a/usr.bin/file/readelf.h +++ b/usr.bin/file/readelf.h @@ -1,6 +1,6 @@ /* * readelf.h - * @(#)$Id: readelf.h,v 1.4 1997/01/15 17:23:24 christos Exp $ + * @(#)$Id: readelf.h,v 1.1.1.1 1997/03/18 17:58:55 mpp Exp $ * * Provide elf data structures for non-elf machines, allowing file * non-elf hosts to determine if an elf binary is stripped. @@ -16,9 +16,9 @@ typedef unsigned int Elf32_Word; typedef unsigned char Elf32_Char; /* XXX: We need 64 bit numbers here */ -typedef unsigned int Elf64_Addr[2]; +typedef u_quad_t Elf64_Addr; typedef unsigned short Elf64_Half; -typedef unsigned int Elf64_Off[2]; +typedef u_quad_t Elf64_Off; typedef unsigned int Elf64_Word; typedef unsigned char Elf64_Char; -- cgit v1.1