some cosmetic changes
This commit is contained in:
parent
d10dd029b5
commit
c37193b667
|
@ -20,7 +20,7 @@ EXPORT char *
|
||||||
Malloc(sz)
|
Malloc(sz)
|
||||||
unsigned int sz;
|
unsigned int sz;
|
||||||
{
|
{
|
||||||
char *res = malloc(sz);
|
register char *res = malloc(sz);
|
||||||
|
|
||||||
if (res == 0) No_Mem();
|
if (res == 0) No_Mem();
|
||||||
return res;
|
return res;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Realloc(ptr, sz)
|
||||||
char ptr[];
|
char ptr[];
|
||||||
unsigned int sz;
|
unsigned int sz;
|
||||||
{
|
{
|
||||||
ptr = realloc(ptr, sz);
|
register char *mptr = realloc(ptr, sz);
|
||||||
if (ptr == 0) No_Mem();
|
if (mptr == 0) No_Mem();
|
||||||
return ptr;
|
return mptr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
EXPORT char *
|
EXPORT char *
|
||||||
Salloc(str, sz)
|
Salloc(str, sz)
|
||||||
register char str[];
|
register char *str;
|
||||||
register unsigned int sz;
|
register unsigned int sz;
|
||||||
{
|
{
|
||||||
/* Salloc() is not a primitive function: it just allocates a
|
/* Salloc() is not a primitive function: it just allocates a
|
||||||
|
|
Loading…
Reference in a new issue