xrealloc is now trealloc and xmalloc is now tmalloc. ngspice convention.

This commit is contained in:
pnenzi 2003-08-13 11:03:12 +00:00
parent 9075a6883e
commit cc7efbf248
2 changed files with 4 additions and 4 deletions

View File

@ -153,7 +153,7 @@ int error, i;
{ (void) sprintf(name, "onoise.%s%s",
here->B3SOIPDname,
B3SOIPDnNames[i]);
data->namelist = (IFuid *) xrealloc(
data->namelist = (IFuid *) trealloc(
(char *) data->namelist,
(data->numPlots + 1)
* sizeof(IFuid));
@ -171,7 +171,7 @@ int error, i;
{ (void) sprintf(name, "onoise_total.%s%s",
here->B3SOIPDname,
B3SOIPDnNames[i]);
data->namelist = (IFuid *) xrealloc(
data->namelist = (IFuid *) trealloc(
(char *) data->namelist,
(data->numPlots + 1)
* sizeof(IFuid));
@ -186,7 +186,7 @@ int error, i;
(void) sprintf(name, "inoise_total.%s%s",
here->B3SOIPDname,
B3SOIPDnNames[i]);
data->namelist = (IFuid *) xrealloc(
data->namelist = (IFuid *) trealloc(
(char *) data->namelist,
(data->numPlots + 1)
* sizeof(IFuid));

View File

@ -117,7 +117,7 @@ double tmp3, T7, T8, T9;
}
if (Size_Not_Found)
{ pParam = (struct b3soipdSizeDependParam *)xmalloc(
{ pParam = (struct b3soipdSizeDependParam *)tmalloc(
sizeof(struct b3soipdSizeDependParam));
if (pLastKnot == NULL)
model->pSizeDependParamKnot = pParam;