code: 9ferno

Download patch

ref: 57d990a50a4f8479689deb8a70e0dda1975d63b2
parent: 9946b8d9e571a85fd4c104086cc64591842e9bce
author: joe9 <joe9mail@gmail.com>
date: Wed Jul 7 17:23:56 EDT 2021

reverted the change converting u32int to u32

will worry about other architectures when compiling on them

--- a/DragonFly/386/include/lib9.h
+++ b/DragonFly/386/include/lib9.h
@@ -41,7 +41,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32int;
+typedef unsigned int u32;
 typedef uvlong u64int;
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned short u16int;
--- a/Inferno/amd64/include/u.h
+++ b/Inferno/amd64/include/u.h
@@ -18,11 +18,11 @@
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned char	u8int;
 typedef unsigned short	u16int;
-typedef unsigned int	u32;
+typedef unsigned int	u32int;
 typedef unsigned long long u64int;
 typedef signed char s8int;
 typedef signed short s16int;
-typedef signed int s32;
+typedef signed int s32int;
 typedef signed long long s64int;
 typedef unsigned char	u8;
 typedef unsigned short	u16;
--- a/Inferno/arm/include/u.h
+++ b/Inferno/arm/include/u.h
@@ -16,7 +16,7 @@
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned char u8int;
 typedef unsigned short u16int;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef unsigned long long u64int;
 typedef unsigned long uintptr;
 
--- a/Inferno/mips/include/u.h
+++ b/Inferno/mips/include/u.h
@@ -16,7 +16,7 @@
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned char u8int;
 typedef unsigned short u16int;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef unsigned long long u64int;
 
 /* FCR */
--- a/Inferno/power/include/u.h
+++ b/Inferno/power/include/u.h
@@ -16,7 +16,7 @@
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned char u8int;
 typedef unsigned short u16int;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef unsigned long long u64int;
 
 /* FPSCR */
--- a/Inferno/sparc/include/u.h
+++ b/Inferno/sparc/include/u.h
@@ -16,7 +16,7 @@
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned char u8int;
 typedef unsigned short u16int;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef unsigned long long u64int;
 
 /* FCR */
--- a/Inferno/spim/include/u.h
+++ b/Inferno/spim/include/u.h
@@ -13,7 +13,7 @@
 #define	JMPBUFPC	1
 #define	JMPBUFDPC	0
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
-typedef unsigned int	u32int;		/* for /sys/include/libsec.h */
+typedef unsigned int	u32;		/* for /sys/include/libsec.h */
 typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned long uintptr;
--- a/Inferno/thumb/include/u.h
+++ b/Inferno/thumb/include/u.h
@@ -16,7 +16,7 @@
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
 typedef unsigned char u8int;
 typedef unsigned short u16int;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef unsigned long long u64int;
 typedef unsigned long uintptr;
 
--- a/Irix/mips/include/lib9.h
+++ b/Irix/mips/include/lib9.h
@@ -28,7 +28,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32int;
+typedef unsigned int u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/Linux/386/include/lib9.h
+++ b/Linux/386/include/lib9.h
@@ -48,7 +48,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32int;
+typedef unsigned int u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/Linux/arm/include/lib9.h
+++ b/Linux/arm/include/lib9.h
@@ -47,7 +47,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32int;
+typedef unsigned int u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/Linux/power/include/lib9.h
+++ b/Linux/power/include/lib9.h
@@ -48,7 +48,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32int;
+typedef unsigned int u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/Linux/spim/include/lib9.h
+++ b/Linux/spim/include/lib9.h
@@ -49,7 +49,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32int;
+typedef unsigned int u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/MacOSX/386/include/lib9.h
+++ b/MacOSX/386/include/lib9.h
@@ -35,7 +35,7 @@
 typedef	long long	vlong;
 typedef	unsigned long long	uvlong;
 typedef unsigned int Rune;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/MacOSX/power/include/lib9.h
+++ b/MacOSX/power/include/lib9.h
@@ -35,7 +35,7 @@
 typedef	long long	vlong;
 typedef	unsigned long long	uvlong;
 typedef unsigned int Rune;
-typedef unsigned int	u32int;
+typedef unsigned int	u32;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/NetBSD/386/include/lib9.h
+++ b/NetBSD/386/include/lib9.h
@@ -43,7 +43,7 @@
 
 typedef uint8_t		u8int;
 typedef uint16_t	u16int;
-typedef uint32_t	u32int;
+typedef uint32_t	u32;
 typedef uvlong u64int;
 
 typedef uintptr_t	uintptr;
--- a/NetBSD/power/include/lib9.h
+++ b/NetBSD/power/include/lib9.h
@@ -43,7 +43,7 @@
 
 typedef uint8_t		u8int;
 typedef uint16_t	u16int;
-typedef uint32_t	u32;
+typedef uint32_t	u32int;
 typedef uvlong u64int;
 
 typedef uintptr_t	uintptr;
--- a/Nt/386/include/lib9.h
+++ b/Nt/386/include/lib9.h
@@ -64,7 +64,7 @@
 typedef unsigned int Rune;
 typedef __int64		vlong;
 typedef unsigned __int64		uvlong;
-typedef unsigned int u32;
+typedef unsigned int u32int;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/OpenBSD/386/include/lib9.h
+++ b/OpenBSD/386/include/lib9.h
@@ -46,7 +46,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32;
+typedef unsigned int u32int;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */
--- a/Solaris/sparc/include/lib9.h
+++ b/Solaris/sparc/include/lib9.h
@@ -32,7 +32,7 @@
 typedef unsigned int Rune;
 typedef long long int	vlong;
 typedef unsigned long long int	uvlong;
-typedef unsigned int u32;
+typedef unsigned int u32int;
 typedef uvlong u64int;
 
 typedef unsigned int	mpdigit;	/* for /sys/include/mp.h */