refactor: add a async read/write variant to device ops, with allow async io to be...
[lunaix-os.git] / lunaix-os / includes / usr / lunaix / types.h
index 9650b47a86badfaae05066800376829d7085f212..a1b69a0b2e6a871c53b1fd2b977e9400c7fad698 100644 (file)
@@ -24,17 +24,17 @@ typedef signed long ssize_t;
 
 typedef int pid_t;
 
-typedef unsigned long size_t;
+typedef __SIZE_TYPE__ size_t;
 
-typedef unsigned long off_t;
+typedef __SIZE_TYPE__ off_t;
 
 typedef unsigned int ino_t;
 
 typedef struct dev_t
 {
     unsigned int meta;
-    unsigned int devident;
-    unsigned int dev_uid;
+    unsigned int unique;
+    unsigned int index;
 } dev_t;
 
 #endif /* __LUNAIX_TYPES_H */