cosmetical changes
This commit is contained in:
parent
6874c454fc
commit
c178bdb059
|
|
@ -1,3 +1,9 @@
|
||||||
|
2010-06-30 Robert Larice
|
||||||
|
* src/frontend/com_ahelp.c : drop NULL casting
|
||||||
|
* src/frontend/com_measure2.c : dont mix enum with integer
|
||||||
|
* src/include/inpptree.h : add parameter-names to a prototype
|
||||||
|
* src/spicelib/parser/ptfuncs.c : add casts to anonymous data
|
||||||
|
|
||||||
2010-06-30 Holger Vogt
|
2010-06-30 Holger Vogt
|
||||||
* inpcom.c: no braces in let, set commands inside control loop
|
* inpcom.c: no braces in let, set commands inside control loop
|
||||||
* glob.c: reinstate {$var} expansion (patch by R. Larice)
|
* glob.c: reinstate {$var} expansion (patch by R. Larice)
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ com_ahelp(wordlist *wl)
|
||||||
"description of \"command\", type \"help command\".\n");
|
"description of \"command\", type \"help command\".\n");
|
||||||
|
|
||||||
/* sort the commands */
|
/* sort the commands */
|
||||||
for (n = 0; cp_coms[n].co_func != (void (*)()) NULL; n++) {
|
for (n = 0; cp_coms[n].co_func != NULL; n++) {
|
||||||
cc[n] = &cp_coms[n];
|
cc[n] = &cp_coms[n];
|
||||||
}
|
}
|
||||||
qsort((char *) cc, n, sizeof(struct comm *), hcomp);
|
qsort((char *) cc, n, sizeof(struct comm *), hcomp);
|
||||||
|
|
|
||||||
|
|
@ -1213,10 +1213,10 @@ get_measure2(
|
||||||
char *mName = NULL; // name given to the measured output
|
char *mName = NULL; // name given to the measured output
|
||||||
char *mFunction = NULL;
|
char *mFunction = NULL;
|
||||||
int precision; // measurement precision
|
int precision; // measurement precision
|
||||||
int mFunctionType, wl_cnt;
|
ANALYSIS_TYPE_T mFunctionType = AT_UNKNOWN;
|
||||||
|
int wl_cnt;
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
mFunctionType = -1;
|
|
||||||
*result = 0.0e0; /* default result */
|
*result = 0.0e0; /* default result */
|
||||||
|
|
||||||
if (!wl) {
|
if (!wl) {
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,7 @@ extern double PTle0(double arg);
|
||||||
/* And in IFeval.c */
|
/* And in IFeval.c */
|
||||||
|
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
extern int IFeval(IFparseTree *, double, double*, double*, double*);
|
extern int IFeval(IFparseTree *tree, double gmin, double *result, double *vals, double *derivs);
|
||||||
#else /* stdc */
|
#else /* stdc */
|
||||||
extern int IFeval();
|
extern int IFeval();
|
||||||
#endif /* stdc */
|
#endif /* stdc */
|
||||||
|
|
|
||||||
|
|
@ -294,7 +294,7 @@ PTuminus(double arg)
|
||||||
double
|
double
|
||||||
PTpwl(double arg, void *data)
|
PTpwl(double arg, void *data)
|
||||||
{
|
{
|
||||||
struct pwldata { int n; double *vals; } *thing = data;
|
struct pwldata { int n; double *vals; } *thing = (struct pwldata *) data;
|
||||||
|
|
||||||
double y;
|
double y;
|
||||||
|
|
||||||
|
|
@ -319,7 +319,7 @@ PTpwl(double arg, void *data)
|
||||||
double
|
double
|
||||||
PTpwl_derivative(double arg, void *data)
|
PTpwl_derivative(double arg, void *data)
|
||||||
{
|
{
|
||||||
struct pwldata { int n; double *vals; } *thing = data;
|
struct pwldata { int n; double *vals; } *thing = (struct pwldata *) data;
|
||||||
|
|
||||||
double y;
|
double y;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue