some cosmetic changes

This commit is contained in:
ceriel 1987-08-03 11:01:19 +00:00
parent d10dd029b5
commit c37193b667
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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