]> git.lizzy.rs Git - plan9front.git/commitdiff
add signed fixed size integer typedefs
authorqwx <devnull@localhost>
Sat, 12 May 2018 17:19:52 +0000 (19:19 +0200)
committerqwx <devnull@localhost>
Sat, 12 May 2018 17:19:52 +0000 (19:19 +0200)
14 files changed:
386/include/u.h
68000/include/u.h
68020/include/u.h
amd64/include/u.h
arm/include/u.h
mips/include/u.h
power/include/u.h
power64/include/u.h
sparc/include/u.h
sparc64/include/u.h
spim/include/u.h
sys/src/9/pc/etherrt2860.c
sys/src/cmd/vmx/dat.h
sys/src/games/blit/dat.h

index ec4e5516131b0c0f6955665384cbe769c154b80e..cca4b15d31637605be55521de25d6ea6e6c67e69 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char        u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (1<<5)
index fe9f79723251cbd1f9fa47969fe1c59eaa444bda..9c7207cffee1d079ed6ca032f1875bd2845ca6a2 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (3<<8)
index 1eb2754db49d2a5c22028ac1ab50da682d97ead8..9c7207cffee1d079ed6ca032f1875bd2845ca6a2 100644 (file)
@@ -20,7 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
-
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (3<<8)
index 3ca2369422b38b8d697c9b0ae72d9f52830f239c..17a684368cffb808e3e63446017e6dcdf78833d4 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char        u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* MXCSR */
 /* fcr */
index 47d75a07a149d6181ad8870ff96ff2596453d0ff..c60b1a446582ae92a6b9007e4d301785ce5ca046 100644 (file)
@@ -21,6 +21,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* VFP FPSCR (exceptions) */
 #define        FPINEX          (1<<12)
index f4c28fcb4505ac23bb296f710221e6f43212f74c..2726806715bb4c805e51acafe2ed04e732690e2b 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (1<<7)
index e2def0bc7c0e6d7df8044136eff602be0324571a..a14297ceea35050aa6493fd036c8385634ab7556 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char        u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FPSCR */
 #define        FPSFX   (1<<31) /* exception summary (sticky) */
index 0f059498b031de9f23bb28bd2a327793b48b6f56..7b94ed33a3d5187002598164c99f6c6c416e2da9 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FPSCR */
 #define        FPSFX   (1<<31) /* exception summary (sticky) */
index 3fce8ec512f6645b38c3c339ea7d7476a35841a3..92e8d0ceaeb3fbb64c3f188dfbaab51b78170c5b 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (1<<23)
index 3fce8ec512f6645b38c3c339ea7d7476a35841a3..92e8d0ceaeb3fbb64c3f188dfbaab51b78170c5b 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (1<<23)
index f4c28fcb4505ac23bb296f710221e6f43212f74c..2726806715bb4c805e51acafe2ed04e732690e2b 100644 (file)
@@ -20,6 +20,10 @@ typedef unsigned char u8int;
 typedef unsigned short u16int;
 typedef unsigned int   u32int;
 typedef unsigned long long u64int;
+typedef signed char s8int;
+typedef signed short s16int;
+typedef signed int s32int;
+typedef signed long long s64int;
 
 /* FCR */
 #define        FPINEX  (1<<7)
index 5ee17a6c4d49d76547905dddd7bc5692b6349753..0abe59ea98020d75a081905dfb43a791e81ebc39 100644 (file)
@@ -17,9 +17,6 @@
 #include "../port/etherif.h"
 #include "../port/wifi.h"
 
-/* for consistency */
-typedef signed char s8int;
-
 enum {
        /* PCI registers */
        PciCfg = 0x0000,
index b6321ab96160effa3d8fd56ca596c95ab6ec6e56..25a1898a0b6af2698248fe5f7dd65d51631e64ce 100644 (file)
@@ -1,7 +1,3 @@
-typedef char s8int;
-typedef short s16int;
-typedef int s32int;
-
 typedef struct PCIDev PCIDev;
 typedef struct PCICap PCICap;
 typedef struct PCIBar PCIBar;
index f96cee674811ee84d0b90a8fe2c0f0340768bca0..8ce31d6ebf1b87024f2390913fde095095edb6b9 100644 (file)
@@ -1,7 +1,3 @@
-typedef signed char s8int;
-typedef signed short s16int;
-typedef signed long s32int;
-
 extern u32int curpc, irq;
 extern int trace, debug;