remove local prototypes, which are allready included

This commit is contained in:
rlar 2010-10-15 18:31:20 +00:00
parent 47472b867b
commit 2540531c38
21 changed files with 24 additions and 49 deletions

View File

@ -1,3 +1,26 @@
2010-10-15 Robert Larice
* src/ciderlib/support/globals.c ,
* src/ciderlib/support/mater.c ,
* src/frontend/numparam/spicenum.c ,
* src/frontend/options.c ,
* src/frontend/plotting/graf.c ,
* src/maths/misc/randnumb.c ,
* src/maths/ni/niniter.c ,
* src/spicelib/analysis/cktdltn.c ,
* src/spicelib/analysis/noisean.c ,
* src/spicelib/devices/nbjt/nbjttemp.c ,
* src/spicelib/devices/nbjt2/nbt2acld.c ,
* src/spicelib/devices/nbjt2/nbt2load.c ,
* src/spicelib/devices/nbjt2/nbt2pzld.c ,
* src/spicelib/devices/numd2/nud2acld.c ,
* src/spicelib/devices/numd2/nud2load.c ,
* src/spicelib/devices/numd2/nud2pzld.c ,
* src/spicelib/devices/numos/nummacld.c ,
* src/spicelib/devices/numos/nummload.c ,
* src/spicelib/devices/numos/nummpzld.c ,
* src/xspice/ipc/ipc.c :
remove local prototypes, which are allready included
2010-10-15 Robert Larice
* src/ciderlib/support/database.c ,
* src/ciderlib/support/geominfo.c ,

View File

@ -10,11 +10,6 @@ Author: 1991 David A. Gates, U. C. Berkeley CAD Group
#include "numenum.h"
#include "cidersupt.h"
/* Forward Declarations */
void GLOBputGlobals(GLOBvalues *);
void GLOBgetGlobals(GLOBvalues *);
void GLOBprnGlobals(FILE *, GLOBvalues *);
/* Global Variable Declarations
char *LogFileName = "cider.log";

View File

@ -11,12 +11,6 @@ Author: 1991 David A. Gates, U. C. Berkeley CAD Group
#include "material.h"
#include "cidersupt.h"
/* Forward Declarations */
void printMaterialInfo(MaterialInfo *info);
/* External Symbols */
extern void MOBtempDep (MaterialInfo *, double);
/*
* Set material info values to their defaults.

View File

@ -29,7 +29,6 @@ Todo:
#include "../error.h" /* controlled_exit() */
extern void txfree (void *ptr);
void dump_symbols(tdico *dico_p);
char *nupa_inst_name;

View File

@ -232,8 +232,6 @@ inp_getoptsc(char *in_line, struct line *com_options)
}
static void setdb(char *str);
/* The one variable that we consider read-only so far is plots. The ones
* that are 'dontrecord' are curplottitle, curplotname, and curplotdate.
* Also things already in the plot env are 'dontrecord'.

View File

@ -52,7 +52,6 @@ static char pointchars[128];
static char ticbuf[1024];
static char *ticlist = ticbuf;
#define MAXTICS 100
double *readtics(char *string);
#define XFACTOR 1 /* How much to expand the X scale during iplot. */
#define YFACTOR 0.2 /* How much to expand the Y scale during iplot. */

View File

@ -61,7 +61,6 @@ static unsigned CombState8 = 138; /* LCG state variable */
static unsigned TauS(unsigned *state, int C1, int C2, int C3, unsigned m);
static unsigned LGCS(unsigned *state, unsigned A1, unsigned A2);
void TausSeed(void);
double CombLCGTaus(void);
float CombLCGTaus2(void);
unsigned int CombLCGTausInt(void);

View File

@ -17,8 +17,6 @@ Author: 1987 Gary W. Ng
*/
extern void SMPcaSolve(SMPmatrix *Matrix, double RHS[], double iRHS[], double Spare[], double iSpare[]);
void
NInzIter(CKTcircuit *ckt, int posDrive, int negDrive)
{

View File

@ -10,8 +10,6 @@ Copyright 1992 Regents of the University of California. All rights reserved.
#include "ifsim.h"
#include "sperror.h"
int CKTdltNNum(CKTcircuit *cktp, int num);
/* ARGSUSED */
int
CKTdltNod(CKTcircuit *ckt, CKTnode *node)

View File

@ -19,8 +19,6 @@ Modified: 2001 AlansFixes
#include "isrc/isrcdefs.h"
#include "../maths/ni/niniter.h" /* va, NInzIter */
extern int CKTnoise( CKTcircuit *, int, int, Ndata * );
int
NOISEan (CKTcircuit *ckt, int restart)

View File

@ -16,7 +16,6 @@ Author: 1992 David A. Gates, U. C. Berkeley CAD Group
#define NIL(type) ((type *)0)
extern int ONEdcDebug;
extern double LNorm;
int
NBJTtemp(GENmodel *inModel, CKTcircuit *ckt)

View File

@ -18,8 +18,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
#include "cidersupt.h"
#include "suffix.h"
/* External Declarations */
extern int TWOacDebug;
int
NBJT2acLoad(GENmodel *inModel, CKTcircuit *ckt)

View File

@ -24,9 +24,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
/* Check out this one */
extern int NBJT2initSmSig(NBJT2instance *);
extern int TWOdcDebug;
extern int TWOtranDebug;
extern int TWOacDebug;

View File

@ -13,8 +13,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
#include "cidersupt.h"
#include "suffix.h"
/* External Declarations */
extern int TWOacDebug;
int
NBJT2pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)

View File

@ -19,8 +19,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
#include "numglobs.h"
#include "suffix.h"
/* External Declarations */
extern int TWOacDebug;
int
NUMD2acLoad(GENmodel *inModel, CKTcircuit *ckt)

View File

@ -24,10 +24,6 @@ $Id$
/* Forward declarations */
int NUMD2initSmSig(NUMD2instance *);
/* External Declarations */
extern int TWOdcDebug;
extern int TWOtranDebug;
extern int TWOacDebug;
int
NUMD2load(GENmodel *inModel, CKTcircuit *ckt)

View File

@ -13,8 +13,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
#include "cidersupt.h"
#include "suffix.h"
/* External Declarations */
extern int TWOacDebug;
int
NUMD2pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)

View File

@ -18,8 +18,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
#include "../../../ciderlib/twod/twodext.h"
#include "cidersupt.h"
/* External Declarations */
extern int TWOacDebug;
int
NUMOSacLoad(GENmodel *inModel, CKTcircuit *ckt)

View File

@ -21,11 +21,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
/* External Declarations */
extern int TWOdcDebug;
extern int TWOtranDebug;
extern int TWOacDebug;
/* Forward Declarations */
int NUMOSinitSmSig(NUMOSinstance *inst);

View File

@ -13,9 +13,6 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
#include "cidersupt.h"
#include "suffix.h"
/* External Declarations */
extern int TWOacDebug;
int
NUMOSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s)

View File

@ -203,7 +203,7 @@ This function deallocates the interprocess communication channel
mailbox or socket.
*/
Ipc_Status_t ipc_transport_terminate_server (void);
Ipc_Status_t
ipc_terminate_server (void)