Skip to contentSkip to conversation

use standard int typedefs for xc_elf.h

PATCH New John Levon 1 participant 1 message Oct 27, 2005

lore
Share & tools
lore

John Levon

author
#0 lore raw

PATCH 1/1 use standard int typedefs for xc_elf.h

# HG changeset patch
# User [email protected]
# Node ID b0cc38e1569ad26de8202737775c9b87fefd42b5 # Parent 5134f3c512c8e140ca7454e27f1931870ca8b4d7 Use standard int typedefs.

tools/libxc/xc_elf.h +14 -14
diff -r 5134f3c512c8 -r b0cc38e1569a tools/libxc/xc_elf.h
@@ -24,26 +24,26 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-typedef u_int8_t	Elf_Byte;
-
-typedef u_int32_t	Elf32_Addr;	/* Unsigned program address */
-typedef u_int32_t	Elf32_Off;	/* Unsigned file offset */
+typedef uint8_t		Elf_Byte;
+
+typedef uint32_t	Elf32_Addr;	/* Unsigned program address */
+typedef uint32_t	Elf32_Off;	/* Unsigned file offset */
 typedef int32_t		Elf32_Sword;	/* Signed large integer */
-typedef u_int32_t	Elf32_Word;	/* Unsigned large integer */
-typedef u_int16_t	Elf32_Half;	/* Unsigned medium integer */
-
-typedef u_int64_t	Elf64_Addr;
-typedef u_int64_t	Elf64_Off;
+typedef uint32_t	Elf32_Word;	/* Unsigned large integer */
+typedef uint16_t	Elf32_Half;	/* Unsigned medium integer */
+
+typedef uint64_t	Elf64_Addr;
+typedef uint64_t	Elf64_Off;
 typedef int32_t		Elf64_Shalf;
 
 typedef int32_t		Elf64_Sword;
-typedef u_int32_t	Elf64_Word;
+typedef uint32_t	Elf64_Word;
 
 typedef int64_t		Elf64_Sxword;
-typedef u_int64_t	Elf64_Xword;
-
-typedef u_int32_t	Elf64_Half;
-typedef u_int16_t	Elf64_Quarter;
+typedef uint64_t	Elf64_Xword;
+
+typedef uint32_t	Elf64_Half;
+typedef uint16_t	Elf64_Quarter;
 
 /*
  * e_ident[] identification indexes