From 25a8ea2f4462a2ed9e0ce87999b472e5207bc174 Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 22 Jun 2011 17:08:24 +0000 Subject: [PATCH] cleanup bsim4 prototypes --- ChangeLog | 6 ++++++ src/spicelib/devices/bsim4/b4geo.c | 2 +- src/spicelib/devices/bsim4/b4noi.c | 6 +----- src/spicelib/devices/bsim4/b4temp.c | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 810c76e6f..06ec81eec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-06-22 Robert Larice + * src/spicelib/devices/bsim4/b4geo.c , + * src/spicelib/devices/bsim4/b4noi.c , + * src/spicelib/devices/bsim4/b4temp.c : + cleanup bsim4 prototypes + 2011-06-22 Robert Larice * src/frontend/commands.c , * src/frontend/misccoms.h , diff --git a/src/spicelib/devices/bsim4/b4geo.c b/src/spicelib/devices/bsim4/b4geo.c index c3484c8d8..957683489 100644 --- a/src/spicelib/devices/bsim4/b4geo.c +++ b/src/spicelib/devices/bsim4/b4geo.c @@ -21,7 +21,7 @@ * for multi-fingers and varous GEO and RGEO options. */ -int +static int BSIM4NumFingerDiff( double nf, int minSD, diff --git a/src/spicelib/devices/bsim4/b4noi.c b/src/spicelib/devices/bsim4/b4noi.c index 982d13311..e3963b26c 100644 --- a/src/spicelib/devices/bsim4/b4noi.c +++ b/src/spicelib/devices/bsim4/b4noi.c @@ -28,17 +28,13 @@ #include "const.h" -extern void NevalSrc(); -extern void NevalSrc2(); /* for tnoiMod=2 (v4.7) */ -extern double Nintegrate(); - /* * WDL: 1/f noise model has been smoothed out and enhanced with * bulk charge effect as well as physical N* equ. and necessary * conversion into the SI unit system. */ -double +static double Eval1ovFNoise( double Vds, BSIM4model *model, diff --git a/src/spicelib/devices/bsim4/b4temp.c b/src/spicelib/devices/bsim4/b4temp.c index 4dc7b7992..5e94129af 100644 --- a/src/spicelib/devices/bsim4/b4temp.c +++ b/src/spicelib/devices/bsim4/b4temp.c @@ -50,7 +50,7 @@ } \ } -int +static int BSIM4DioIjthVjmEval( double Nvtm, double Ijth, double Isb, double XExpBV, double *Vjm)