Type names (uint32 -> u32, e.t.c.)
This commit is contained in:
parent
f5b93ef12f
commit
362d5adeb2
39 changed files with 485 additions and 489 deletions
|
@ -47,7 +47,7 @@ ushort
|
|||
xshort(ushort x)
|
||||
{
|
||||
ushort y;
|
||||
uchar *a = (uchar*)&y;
|
||||
u8 *a = (u8*)&y;
|
||||
a[0] = x;
|
||||
a[1] = x >> 8;
|
||||
return y;
|
||||
|
@ -57,7 +57,7 @@ uint
|
|||
xint(uint x)
|
||||
{
|
||||
uint y;
|
||||
uchar *a = (uchar*)&y;
|
||||
u8 *a = (u8*)&y;
|
||||
a[0] = x;
|
||||
a[1] = x >> 8;
|
||||
a[2] = x >> 16;
|
||||
|
@ -234,7 +234,7 @@ ialloc(ushort type)
|
|||
void
|
||||
balloc(int used)
|
||||
{
|
||||
uchar buf[BSIZE];
|
||||
u8 buf[BSIZE];
|
||||
int i;
|
||||
|
||||
printf("balloc: first %d blocks have been allocated\n", used);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue