summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-20 07:56:40 +0000
committerru <ru@FreeBSD.org>2002-05-20 07:56:40 +0000
commit628fe540c23411be3d995ea703ef0801d18e3ae2 (patch)
tree80de175a4a494cff59f1ba47804491759f7c0092 /usr.sbin
parentbc86a28ef99dc024f02f390d835d6933650a4dd3 (diff)
downloadFreeBSD-src-628fe540c23411be3d995ea703ef0801d18e3ae2.zip
FreeBSD-src-628fe540c23411be3d995ea703ef0801d18e3ae2.tar.gz
s/u_int/u_int32_t/
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/elf2aout/elf2aout.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/usr.sbin/elf2aout/elf2aout.c b/usr.sbin/elf2aout/elf2aout.c
index a03968f..918c6e0 100644
--- a/usr.sbin/elf2aout/elf2aout.c
+++ b/usr.sbin/elf2aout/elf2aout.c
@@ -28,6 +28,7 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
+#include <sys/endian.h>
#include <sys/elf64.h>
#include <sys/endian.h>
#include <sys/mman.h>
@@ -37,14 +38,14 @@ __FBSDID("$FreeBSD$");
#include <fcntl.h>
struct exec {
- u_int a_magic;
- u_int a_text;
- u_int a_data;
- u_int a_bss;
- u_int a_syms;
- u_int a_entry;
- u_int a_trsize;
- u_int a_drsize;
+ u_int32_t a_magic;
+ u_int32_t a_text;
+ u_int32_t a_data;
+ u_int32_t a_bss;
+ u_int32_t a_syms;
+ u_int32_t a_entry;
+ u_int32_t a_trsize;
+ u_int32_t a_drsize;
};
#define A_MAGIC 0x01030107
OpenPOWER on IntegriCloud