summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-17 01:52:13 +0000
committerrsc <rsc>2006-07-17 01:52:13 +0000
commitb5ee516575b4d2f1fd7de014230fee7cf8b6b538 (patch)
tree158b9cf0466e66ac80c96d948a12ae67afcb1d9a /types.h
parent857d60cb0c56df19a5125584c677aa56c4488e98 (diff)
downloadxv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.tar.gz
xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.tar.bz2
xv6-labs-b5ee516575b4d2f1fd7de014230fee7cf8b6b538.zip
add uint and standardize on typedefs instead of unsigned
Diffstat (limited to 'types.h')
-rw-r--r--types.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/types.h b/types.h
index f520c97..938154b 100644
--- a/types.h
+++ b/types.h
@@ -1,7 +1,9 @@
+typedef unsigned int uint;
+
typedef unsigned long long uint64_t;
-typedef unsigned int uint32_t;
-typedef unsigned short uint16_t;
-typedef unsigned char uint8_t;
-typedef uint32_t uintptr_t;
-typedef uint32_t physaddr_t;
-typedef unsigned int uint;
+typedef unsigned int uint32_t;
+typedef unsigned short uint16_t;
+typedef unsigned char uint8_t;
+
+typedef uint32_t uintptr_t;
+typedef uint32_t physaddr_t;