aboutsummaryrefslogtreecommitdiff
path: root/exec/hostarch.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-04-27 21:21:42 +0000
committerRoland McGrath <roland@gnu.org>2002-04-27 21:21:42 +0000
commite74e95d8559ee79b61e0cc7eb766555c4c9c1dba (patch)
treef7d3b96f171d6246728f11715fe607d8a3a9501a /exec/hostarch.c
parent7ccb92aa6a0493b9896c8219de4b2cd0d4b37bb3 (diff)
downloadhurd-e74e95d8559ee79b61e0cc7eb766555c4c9c1dba.tar.gz
hurd-e74e95d8559ee79b61e0cc7eb766555c4c9c1dba.tar.bz2
hurd-e74e95d8559ee79b61e0cc7eb766555c4c9c1dba.zip
2002-04-27 Roland McGrath <roland@frob.com>
* priv.h: Include <link.h> to get ElfW macro. * priv.h, exec.c, main.c, hostarch.c: Use `ElfW(TYPE)' in place of `Elf32_TYPE' throughout.
Diffstat (limited to 'exec/hostarch.c')
-rw-r--r--exec/hostarch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/hostarch.c b/exec/hostarch.c
index db59c95f..ec59a417 100644
--- a/exec/hostarch.c
+++ b/exec/hostarch.c
@@ -1,6 +1,6 @@
/* Determine the BFD and ELF architecture and machine flavor
from a Mach host port. Used by the exec and core servers.
- Copyright (C) 1992,93,95,96,99,2000 Free Software Foundation, Inc.
+ Copyright (C) 1992,93,95,96,99,2000,02 Free Software Foundation, Inc.
Written by Roland McGrath.
This file is part of the GNU Hurd.
@@ -26,7 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <elf.h>
error_t
-elf_machine_matches_host (Elf32_Half e_machine)
+elf_machine_matches_host (ElfW(Half) e_machine)
{
static void *host_type; /* Cached entry into the switch below. */
struct host_basic_info hostinfo;