mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-19 11:14:12 +00:00
_t -> _T; P() redefined
SCCS-file: ialloc.c SCCS-SID: 8.24
This commit is contained in:
committed by
Paul Eggert
parent
18a579a50a
commit
40b576bbc5
@@ -31,11 +31,11 @@ const int n;
|
||||
#ifdef MAL
|
||||
register char * result;
|
||||
|
||||
result = malloc((alloc_size_t) nonzero(n));
|
||||
result = malloc((alloc_size_T) nonzero(n));
|
||||
return NULLMAL(result) ? NULL : result;
|
||||
#endif /* defined MAL */
|
||||
#ifndef MAL
|
||||
return malloc((alloc_size_t) nonzero(n));
|
||||
return malloc((alloc_size_T) nonzero(n));
|
||||
#endif /* !defined MAL */
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ int elsize;
|
||||
{
|
||||
if (nelem == 0 || elsize == 0)
|
||||
nelem = elsize = 1;
|
||||
return calloc((alloc_size_t) nelem, (alloc_size_t) elsize);
|
||||
return calloc((alloc_size_T) nelem, (alloc_size_T) elsize);
|
||||
}
|
||||
|
||||
void *
|
||||
@@ -56,7 +56,7 @@ const int size;
|
||||
{
|
||||
if (NULLMAL(pointer))
|
||||
return imalloc(size);
|
||||
return realloc((genericptr_t) pointer, (alloc_size_t) nonzero(size));
|
||||
return realloc((genericptr_T) pointer, (alloc_size_T) nonzero(size));
|
||||
}
|
||||
|
||||
char *
|
||||
|
||||
Reference in New Issue
Block a user