xrealloc is now trealloc and xmalloc is now tmalloc. ngspice convention.
This commit is contained in:
parent
9075a6883e
commit
cc7efbf248
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue