From a4ac854d503d87ed11b49034c900e9f08479b2ef Mon Sep 17 00:00:00 2001 From: rlar Date: Mon, 18 Nov 2013 20:32:15 +0100 Subject: [PATCH] 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 --- src/spicelib/devices/hisim2/hsm2eval.c | 2 +- src/spicelib/devices/hisimhv1/hsmhveval.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/devices/hisim2/hsm2eval.c b/src/spicelib/devices/hisim2/hsm2eval.c index 8316b9869..9a68b08b6 100644 --- a/src/spicelib/devices/hisim2/hsm2eval.c +++ b/src/spicelib/devices/hisim2/hsm2eval.c @@ -131,7 +131,7 @@ to others." #define C_IDD_MIN 1.0e-15 /* local variables used in macro functions */ -double TMF1 , TMF2 , TMF3 , TMF4 ; +static double TMF1 , TMF2 , TMF3 , TMF4 ; /*===========================================================* * pow *=================*/ diff --git a/src/spicelib/devices/hisimhv1/hsmhveval.c b/src/spicelib/devices/hisimhv1/hsmhveval.c index c1a800bc4..9a5a48f4b 100644 --- a/src/spicelib/devices/hisimhv1/hsmhveval.c +++ b/src/spicelib/devices/hisimhv1/hsmhveval.c @@ -160,7 +160,7 @@ June. 2008 (revised in June 2011) #define C_gidl_delta 0.5 /* local variables used in macro functions */ -double TMF0 , TMF1 , TMF2 , TMF3 , TMF4 , TMF5 , TMF6 ; +static double TMF0 , TMF1 , TMF2 , TMF3 , TMF4 , TMF5 , TMF6 ; /*===========================================================* * pow *=================*/