Type names (uint32 -> u32, e.t.c.)

This commit is contained in:
Imbus 2024-05-24 11:26:40 +02:00
parent f5b93ef12f
commit 362d5adeb2
39 changed files with 485 additions and 489 deletions

View file

@ -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);