Code cleaning

This commit is contained in:
pnenzi 2005-04-26 19:44:38 +00:00
parent b3e47fbbd3
commit 261778cec4
4 changed files with 14 additions and 15 deletions

View File

@ -57,15 +57,16 @@ typedef struct {
#define spREAL double
// /* Begin `realNumber'. */
// typedef spREAL realNumber, *realVector;
// /* Begin `ComplexNumber'. */
// typedef struct
// { RealNumber Real;
// RealNumber Imag;
// } ComplexNumber, *ComplexVector;
#if 0 /* Can this be deleted? */
/* Begin `realNumber'. */
typedef spREAL realNumber, *realVector;
/* Begin `ComplexNumber'. */
typedef struct
{ RealNumber Real;
RealNumber Imag;
} ComplexNumber, *ComplexVector;
#endif
/* Some defines used mainly in cmath.c. */
#define FTEcabs(d) (((d) < 0.0) ? - (d) : (d))

View File

@ -454,7 +454,6 @@ extern struct variable *if_getstat();
extern struct line *inp_deckcopy();
extern struct line *inp_subcktexpand();
extern int inp_numnodes(char);
/* types.c */

View File

@ -106,17 +106,17 @@ struct timeb timebegin;
# define strchr index
# define strrchr rindex
#else /* va: no index, but strchr */
#ifdef HAVE_STRCHR
#define index strchr
#define rindex strrchr
#endif /* va: no index, but strchr */
# ifdef HAVE_STRCHR
# define index strchr
# define rindex strrchr
# endif /* va: no index, but strchr */
#endif
#ifdef HAS_TIME_H
#include <time.h>
#endif
// added for CYGWIN
/* added for CYGWIN */
#ifndef HUGE
#define HUGE HUGE_VAL
#endif

View File

@ -6,7 +6,6 @@ Author: 1985 Thomas L. Quarles
#ifndef _SPERROR_H
#define _SPERROR_H
//#include "ngspice.h"
#include "iferrmsg.h"
/*