From 59006a51e2f37dec8f0b95f17b7b3dc8ec985a60 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 22 May 2011 10:20:16 +0000 Subject: [PATCH] hisim2, drop unused static functions (swallow warnings) --- ChangeLog | 4 ++++ src/spicelib/devices/hisim2/hsm2eval.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 78c9d8a73..383b8584e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-05-22 Robert Larice + * src/spicelib/devices/hisim2/hsm2eval.c : + hisim2, drop unused static functions (swallow warnings) + 2011-05-22 Robert Larice * src/spicelib/devices/hisim2/hsm2eval.c , * src/spicelib/devices/hisim2/hsm2temp.c : diff --git a/src/spicelib/devices/hisim2/hsm2eval.c b/src/spicelib/devices/hisim2/hsm2eval.c index cac7c6f8c..c4a01be74 100644 --- a/src/spicelib/devices/hisim2/hsm2eval.c +++ b/src/spicelib/devices/hisim2/hsm2eval.c @@ -237,6 +237,7 @@ double TMF1 , TMF2 , TMF3 , TMF4 ; * smoothZero: flooring to zero. * y = 0.5 ( x + sqrt( x^2 + 4 delta^2 ) ) *-----------------*/ +#if 0 static double smoothZero ( double x, @@ -248,6 +249,7 @@ static double smoothZero if (dx) *dx = 0.5 * ( 1.0 + x / sqr ) ; return 0.5 * ( x + sqr ) ; } +#endif /*---------------------------------------------------* * CeilingPow: ceiling for positive x, flooring for negative x. * y = x * xmax / ( x^{2m} + xmax^{2m} )^{1/(2m)} @@ -256,6 +258,7 @@ static double smoothZero * - -xmax < y < xmax. * - dy/dx|_{x=0} = 1. *-----------------*/ +#if 0 static double CeilingPow ( double x, @@ -298,6 +301,7 @@ static double CeilingPow (*dx) = xmax * xmp * dnm / arg ; return result ; } +#endif /*---------------------------------------------------* * CeilingPow: ceiling for positive x, flooring for negative x.