diff options
author | ru <ru@FreeBSD.org> | 2002-05-20 07:56:40 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-05-20 07:56:40 +0000 |
commit | 628fe540c23411be3d995ea703ef0801d18e3ae2 (patch) | |
tree | 80de175a4a494cff59f1ba47804491759f7c0092 | |
parent | bc86a28ef99dc024f02f390d835d6933650a4dd3 (diff) | |
download | FreeBSD-src-628fe540c23411be3d995ea703ef0801d18e3ae2.zip FreeBSD-src-628fe540c23411be3d995ea703ef0801d18e3ae2.tar.gz |
s/u_int/u_int32_t/
-rw-r--r-- | usr.bin/elf2aout/elf2aout.c | 17 | ||||
-rw-r--r-- | usr.sbin/elf2aout/elf2aout.c | 17 |
2 files changed, 18 insertions, 16 deletions
diff --git a/usr.bin/elf2aout/elf2aout.c b/usr.bin/elf2aout/elf2aout.c index a03968f..918c6e0 100644 --- a/usr.bin/elf2aout/elf2aout.c +++ b/usr.bin/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 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 |