Browse Source

devices/hisimhv1, devices/hisim2, avoid overlapping globals TMF1 ... TMF6

reported by James Jackson in message:
  [Ngspice-users] Problem building git head --with-ngspice Mac OS X
pre-master-46
rlar 13 years ago
parent
commit
a4ac854d50
  1. 2
      src/spicelib/devices/hisim2/hsm2eval.c
  2. 2
      src/spicelib/devices/hisimhv1/hsmhveval.c

2
src/spicelib/devices/hisim2/hsm2eval.c

@ -131,7 +131,7 @@ to others."
#define C_IDD_MIN 1.0e-15 #define C_IDD_MIN 1.0e-15
/* local variables used in macro functions */ /* local variables used in macro functions */
double TMF1 , TMF2 , TMF3 , TMF4 ;
static double TMF1 , TMF2 , TMF3 , TMF4 ;
/*===========================================================* /*===========================================================*
* pow * pow
*=================*/ *=================*/

2
src/spicelib/devices/hisimhv1/hsmhveval.c

@ -160,7 +160,7 @@ June. 2008 (revised in June 2011)
#define C_gidl_delta 0.5 #define C_gidl_delta 0.5
/* local variables used in macro functions */ /* local variables used in macro functions */
double TMF0 , TMF1 , TMF2 , TMF3 , TMF4 , TMF5 , TMF6 ;
static double TMF0 , TMF1 , TMF2 , TMF3 , TMF4 , TMF5 , TMF6 ;
/*===========================================================* /*===========================================================*
* pow * pow
*=================*/ *=================*/

Loading…
Cancel
Save