summaryrefslogtreecommitdiff
path: root/ide.c
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 /ide.c
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 'ide.c')
-rw-r--r--ide.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ide.c b/ide.c
index e1ed25a..3228f7f 100644
--- a/ide.c
+++ b/ide.c
@@ -19,7 +19,7 @@
struct ide_request {
uint32_t secno;
void *dst;
- unsigned nsecs;
+ uint nsecs;
};
struct ide_request request[NREQUEST];
int head, tail;
@@ -104,7 +104,7 @@ ide_start_request (void)
}
void *
-ide_start_read(uint32_t secno, void *dst, unsigned nsecs)
+ide_start_read(uint32_t secno, void *dst, uint nsecs)
{
struct ide_request *r;
@@ -149,7 +149,7 @@ ide_finish_read(void *c)
}
int
-ide_write(uint32_t secno, const void *src, unsigned nsecs)
+ide_write(uint32_t secno, const void *src, uint nsecs)
{
int r;