_t -> _T; P() redefined

SCCS-file: ialloc.c
SCCS-SID: 8.24
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:14 -04:00
committed by Paul Eggert
parent 18a579a50a
commit 40b576bbc5
+4 -4
View File
@@ -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 *