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",
|
{ (void) sprintf(name, "onoise.%s%s",
|
||||||
here->B3SOIPDname,
|
here->B3SOIPDname,
|
||||||
B3SOIPDnNames[i]);
|
B3SOIPDnNames[i]);
|
||||||
data->namelist = (IFuid *) xrealloc(
|
data->namelist = (IFuid *) trealloc(
|
||||||
(char *) data->namelist,
|
(char *) data->namelist,
|
||||||
(data->numPlots + 1)
|
(data->numPlots + 1)
|
||||||
* sizeof(IFuid));
|
* sizeof(IFuid));
|
||||||
|
|
@ -171,7 +171,7 @@ int error, i;
|
||||||
{ (void) sprintf(name, "onoise_total.%s%s",
|
{ (void) sprintf(name, "onoise_total.%s%s",
|
||||||
here->B3SOIPDname,
|
here->B3SOIPDname,
|
||||||
B3SOIPDnNames[i]);
|
B3SOIPDnNames[i]);
|
||||||
data->namelist = (IFuid *) xrealloc(
|
data->namelist = (IFuid *) trealloc(
|
||||||
(char *) data->namelist,
|
(char *) data->namelist,
|
||||||
(data->numPlots + 1)
|
(data->numPlots + 1)
|
||||||
* sizeof(IFuid));
|
* sizeof(IFuid));
|
||||||
|
|
@ -186,7 +186,7 @@ int error, i;
|
||||||
(void) sprintf(name, "inoise_total.%s%s",
|
(void) sprintf(name, "inoise_total.%s%s",
|
||||||
here->B3SOIPDname,
|
here->B3SOIPDname,
|
||||||
B3SOIPDnNames[i]);
|
B3SOIPDnNames[i]);
|
||||||
data->namelist = (IFuid *) xrealloc(
|
data->namelist = (IFuid *) trealloc(
|
||||||
(char *) data->namelist,
|
(char *) data->namelist,
|
||||||
(data->numPlots + 1)
|
(data->numPlots + 1)
|
||||||
* sizeof(IFuid));
|
* sizeof(IFuid));
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ double tmp3, T7, T8, T9;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Size_Not_Found)
|
if (Size_Not_Found)
|
||||||
{ pParam = (struct b3soipdSizeDependParam *)xmalloc(
|
{ pParam = (struct b3soipdSizeDependParam *)tmalloc(
|
||||||
sizeof(struct b3soipdSizeDependParam));
|
sizeof(struct b3soipdSizeDependParam));
|
||||||
if (pLastKnot == NULL)
|
if (pLastKnot == NULL)
|
||||||
model->pSizeDependParamKnot = pParam;
|
model->pSizeDependParamKnot = pParam;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue