From 63882a13e073afa4efed39459215e239bfa23f9d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 1 May 2001 19:06:35 +0000 Subject: Another cleanup. Never pass addresses as an 'int' -Erik --- ldso/util/ldd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldso/util') diff --git a/ldso/util/ldd.c b/ldso/util/ldd.c index a0b0338eb..ea4f1f5ef 100644 --- a/ldso/util/ldd.c +++ b/ldso/util/ldd.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include "../d-link/elf.h" #include "../config.h" #include "readelf.h" @@ -134,7 +134,7 @@ int is_bin(char *argv0, char *prog) else if (N_MAGIC(exec) != ZMAGIC && N_MAGIC(exec) != QMAGIC && N_MAGIC(exec) != OMAGIC) { - struct elfhdr elf_hdr; + elfhdr elf_hdr; rewind(file); fread(&elf_hdr, sizeof elf_hdr, 1, file); @@ -143,7 +143,7 @@ int is_bin(char *argv0, char *prog) fprintf(stderr, "%s: %s is not a.out or ELF\n", argv0, prog); else { - struct elf_phdr phdr; + elf_phdr phdr; int i; /* Check its an exectuable, library or other */ -- cgit v1.2.3