prepare for #ifndef include wrapper unification

This commit is contained in:
rlar 2013-01-23 20:57:12 +01:00
parent 8101f3f17c
commit 7ea52cb908
89 changed files with 90 additions and 90 deletions

View File

@ -9,4 +9,4 @@
void com_chdir(wordlist *wl);
#endif /* COM_CHDIR_H */
#endif

View File

@ -9,4 +9,4 @@
void com_echo(wordlist *wlist);
#endif /* COM_ECHO_H */
#endif

View File

@ -9,4 +9,4 @@
void com_rehash(wordlist *wl);
#endif /* COM_REHASH_H */
#endif

View File

@ -7,4 +7,4 @@
void com_shell(wordlist *wl);
#endif /* COM_SHELL_H */
#endif

View File

@ -7,4 +7,4 @@
void com_shift(wordlist *wl);
#endif /* COM_SHIFT_H */
#endif

View File

@ -9,4 +9,4 @@
void com_unset(wordlist *wl);
#endif /* COM_UNSET_H */
#endif

View File

@ -48,4 +48,4 @@ extern struct control *control[CONTROLSTACKSIZE];
extern struct control *cend[CONTROLSTACKSIZE];
extern int stackp;
#endif /* CONTROL_H */
#endif

View File

@ -31,5 +31,5 @@ void SaveText(GRAPH *graph, char *text, int x, int y);
int DevSwitch(char *devname);
#endif /* DISPLAY_H_INCLUDED */
#endif

View File

@ -13,4 +13,4 @@ int dgen_for_n(dgen *dg, int n, int (*fn) (dgen*, IFparm*, int), IFparm *data, i
void dgen_nth_next(dgen **dg, int n);
#endif /* GENS_H_INCLUDED */
#endif

View File

@ -16,4 +16,4 @@ int if_analQbyName(CKTcircuit *ckt, int which, JOB *anal, char *name, IFvalue *
void com_snload(wordlist *wl);
void com_snsave(wordlist *wl);
#endif /* SPICEIF_H_INCLUDED */
#endif

View File

@ -10,4 +10,4 @@
void fixdescriptors(void);
#endif /* STREAMS_H */
#endif

View File

@ -33,4 +33,4 @@ disp_fn_SetColor_t WPRINT_SetColor;
disp_fn_Update_t WPRINT_Update;
//extern int WIN_DiagramReady();
#endif /* WINDISP_H */
#endif

View File

@ -21,4 +21,4 @@ int WPRINT_SetColor( int color);
int WPRINT_Update(void);
int WPRINT_DiagramReady(void);
#endif /* WINPRINT_H */
#endif

View File

@ -36,4 +36,4 @@ typedef struct {
#define AC_STOP 5
#define AC_STEPS 6
#endif /*ACDEFS*/
#endif

View File

@ -61,4 +61,4 @@ typedef struct sBDRYcard {
#define BDRY_SP 13
#define BDRY_LAYER 14
#endif /* BDRY_H */
#endif

View File

@ -24,4 +24,4 @@ Authors : 1991 David Gates
#include "ngspice/optndefs.h"
#include "ngspice/outpdefs.h"
#endif /* CARDDEFS_H */
#endif

View File

@ -46,4 +46,4 @@ NON-STANDARD FEATURES
#include "ngspice/mifcmdat.h"
#endif /* CM_DEFINED */
#endif

View File

@ -54,4 +54,4 @@ NON-STANDARD FEATURES
#define EVENT MIF_EVENT_DRIVEN
#endif /* CMCONSTANTS_DEFINED */
#endif

View File

@ -104,4 +104,4 @@ void free_pj(void *ptr);
FILE *fopen_with_path(const char *path, const char *mode);
#endif /* CMPROTO_DEFINED */
#endif

View File

@ -68,4 +68,4 @@ typedef struct {
#endif /* CMTYPES_DEFINED */
#endif

View File

@ -30,4 +30,4 @@ typedef struct sCONTcard {
#define CONT_WORKFUN 5
#define CONT_NUMBER 6
#endif /* CONT_H */
#endif

View File

@ -96,4 +96,4 @@ struct alias {
#include "ngspice/cpextern.h"
#endif /*CPDEFS*/
#endif

View File

@ -159,4 +159,4 @@ extern int DEVmaxnum; /* size of DEVices array */
#define DEV_DEFAULT 0x1
#endif /*DEV*/
#endif

View File

@ -28,4 +28,4 @@ struct st_dgen {
extern dgen *dgen_init(GENcircuit *ckt, wordlist *wl, int nomix, int flag, int model);
#endif /* DGEN_H */
#endif

View File

@ -218,4 +218,4 @@ extern int CKTdisto(CKTcircuit *ckt, int mode);
extern int DkerProc(int type, double *rPtr, double *iPtr, int size, DISTOAN *job);
#endif /*DISTODEFS*/
#endif

View File

@ -49,4 +49,4 @@ typedef struct sDOMNcard {
#define DOMN_MATERIAL 10
#endif /* DOMN_H */
#endif

View File

@ -81,4 +81,4 @@ typedef struct sDOPcard {
#define DOP_EXP_LAT 31
#define DOP_DOMAIN 32
#endif /* DOP_H */
#endif

View File

@ -37,4 +37,4 @@ extern void spice_dstring_free(SPICE_DSTRINGPTR dsPtr) ;
#define spice_dstring_space(x_xz) ((x_xz)->spaceAvl)
#define spice_dstring_length(x_xz) ((x_xz)->length)
#endif /* DSTRING_H */
#endif

View File

@ -45,4 +45,4 @@ typedef struct sELCTcard {
#define ELCT_IY_HIGH 8
#define ELCT_NUMBER 9
#endif /* ELCT_H */
#endif

View File

@ -106,4 +106,4 @@ void ENHreport_conv_prob(Enh_Conv_Source_t type, char *name, char *msg);
struct line *ENHtranslate_poly(struct line *deck);
#endif /* ENH_HEADER */
#endif

View File

@ -368,4 +368,4 @@ typedef struct {
#endif /* EVT_HEADER */
#endif

View File

@ -123,4 +123,4 @@ void EVTaccept(
struct dvec *EVTfindvec(char *node);
#endif /* EVTPROTO_HEADER */
#endif

View File

@ -120,4 +120,4 @@ extern int g_evt_num_udn_types;
extern Evt_Udn_Info_t **g_evt_udn_info;
#endif /* EVTUDN_HEADER */
#endif

View File

@ -49,4 +49,4 @@ struct dbcomm {
struct dbcomm *db_next; /* List of active debugging commands. */
} ;
#endif /* FTEDEBUG_H */
#endif

View File

@ -60,4 +60,4 @@ struct circ {
#include "ngspice/fteext.h"
#endif /* FTEdefs_h */
#endif

View File

@ -345,4 +345,4 @@ extern bool ft_setflag;
/* error.c */
extern void controlled_exit(int status);
#endif /* FTEext_h */
#endif

View File

@ -29,5 +29,5 @@ struct line {
#define LS_PHYSICAL 2
#define LS_DECK 3
#endif /* FTEinput_h */
#endif

View File

@ -22,4 +22,4 @@ typedef struct sFTESTATistics {
#define FTEOPT_NLT 2
#define FTEOPT_NPT 3
#endif /*FTEOPT*/
#endif

View File

@ -103,4 +103,4 @@ struct element {
#define PT_OP_TERNARY 23
#endif /* FTEPARSE */
#endif

View File

@ -47,4 +47,4 @@ struct GENmodel { /* model structure for a resistor */
IFuid GENmodName; /* pointer to character string naming this model */
};
#endif /*GEN*/
#endif

View File

@ -119,4 +119,4 @@ typedef struct sBoundaryInfo ONEboundary;
typedef struct sBoundaryInfo TWOboundary;
typedef struct sBoundaryInfo BDRYboundary;
#endif /* GENDEV_H */
#endif

View File

@ -502,4 +502,4 @@ Function:
*/
#endif /* NGHASH_H */
#endif

View File

@ -55,4 +55,4 @@ extern char *errRtn; /* name of the routine declaring error */
/* and thus can be set correctly even if we run out */
/* of memory */
#endif /*IFERRMSGS*/
#endif

View File

@ -486,4 +486,4 @@ struct IFfrontEnd {
#define OUT_SCALE_LIN 1
#define OUT_SCALE_LOG 2
#endif /*IFSIMULATOR*/
#endif

View File

@ -134,4 +134,4 @@ int INPremTerm(char *token, INPtables *tab);
#endif /*INP*/
#endif

View File

@ -116,4 +116,4 @@ typedef enum {
#endif /* IPC_DEFINED */
#endif

View File

@ -92,5 +92,5 @@ typedef struct {
extern Ipc_Tiein_t g_ipc;
#endif /* IPC_TIEIN_DEFINED */
#endif

View File

@ -21,4 +21,4 @@ struct JOB {
#define FREQUENCYDOMAIN 2
#define SWEEPDOMAIN 3
#endif /*JOBdef*/
#endif

View File

@ -79,4 +79,4 @@ typedef struct sMaterialInfo ONEmaterial;
typedef struct sMaterialInfo TWOmaterial;
typedef struct sMaterialInfo MATLmaterial;
#endif /* MATERIAL_H */
#endif

View File

@ -90,4 +90,4 @@ typedef struct sMATLcard {
#define MATL_DEGDC 28
#define MATL_CREF_EG 29
#endif /* MATL_H */
#endif

View File

@ -41,4 +41,4 @@ typedef struct sMESHcard {
#define MESH_H_MAX 6
#define MESH_RATIO 7
#endif /* MESH_H */
#endif

View File

@ -24,4 +24,4 @@ extern int MESHlocate( MESHcoord *, double );
extern int MESHcheck( char, MESHcard * );
extern int MESHsetup( char, MESHcard *, MESHcoord **, int * );
#endif /* MESHEXT_H */
#endif

View File

@ -42,4 +42,4 @@ typedef struct sMETHcard {
#define METH_ITLIM 7
#define METH_VOLTPRED 8
#endif /* METH_H */
#endif

View File

@ -84,4 +84,4 @@ extern int MIFmSize;
extern Mif_Info_t g_mif_info;
#endif /* MIF */
#endif

View File

@ -371,4 +371,4 @@ typedef struct Mif_Private_s {
#endif /* MIFCMDAT */
#endif

View File

@ -108,4 +108,4 @@ typedef struct sMIFmodel {
#endif /* MIFDEFS */
#endif

View File

@ -117,4 +117,4 @@ typedef struct Mif_Inst_Var_Info_s {
} Mif_Inst_Var_Info_t;
#endif /* MIFPARSE */
#endif

View File

@ -159,4 +159,4 @@ extern Mif_Cntl_Src_Type_t MIFget_cntl_src_type(
extern char *MIFcopy(char *);
#endif /* MIFPROTO */
#endif

View File

@ -224,4 +224,4 @@ typedef struct {
} Mif_Parse_Value_t;
#endif /* MIFTYPES */
#endif

View File

@ -46,4 +46,4 @@ extern int isinf(double);
#endif /* HAVE_ISINF */
#endif /* HAVE_DECL_ISINF */
#endif /* MISSING_MATH_H_INCLUDED */
#endif

View File

@ -65,4 +65,4 @@ typedef struct sMOBcard {
#define MOB_MATERIAL 16
#define MOB_INIT 17
#endif /* MOB_H */
#endif

View File

@ -51,4 +51,4 @@ typedef struct sMODLcard {
#define MODL_AUGER 10
#define MODL_AVAL 11
#endif /* MODL_H */
#endif

View File

@ -2,7 +2,7 @@
* Main header file for ngspice
* 1999 E. Rouat
************/
#ifndef NGSPICE_H_INCLUDED /* va */
#ifndef NGSPICE_H_INCLUDED
#define NGSPICE_H_INCLUDED
/* #include "memwatch.h"
@ -254,4 +254,4 @@ extern int tcl_fprintf(FILE *f, const char *format, ...);
#define NG_IGNOREABLE(x) (void)x
#endif /* NGSPICE_H_INCLUDED */
#endif

View File

@ -126,4 +126,4 @@ void NevalSrc2 (double *, double *, CKTcircuit *, int, int, int, double, int, in
void NevalSrcInstanceTemp (double *noise, double *lnNoise, CKTcircuit *ckt, int type, int node1, int node2, double param, double param2);
double Nintegrate (double noizDens, double lnNdens, double lnNlstDens, Ndata *data);
#endif /*NOISEDEFS*/
#endif

View File

@ -47,4 +47,4 @@ typedef struct sIFcardInfo {
/* routine to find out about a card's details */
} IFcardInfo;
#endif /* NUMCARDS_H */
#endif

View File

@ -228,4 +228,4 @@ Authors: 1987 Karti Mayaram, 1991 David Gates
#define DABSTOL1D 1.0e-12 /* --- */
#define DABSTOL2D 1.0e-8 /* --- */
#endif /* NUMCONST_H */
#endif

View File

@ -90,4 +90,4 @@ Authors: 1991 David Gates
#define STAT_TRAN 2
#define STAT_AC 3
#endif /* NUMENUM_H */
#endif

View File

@ -39,4 +39,4 @@ typedef struct sGENnumModel { /* model structure for a numerical device */
OUTPcard *GENoutputs; /* list of output cards */
} GENnumModel;
#endif /* NUMGEN_H */
#endif

View File

@ -56,4 +56,4 @@ typedef struct sGLOBvalues
double ENorm;
} GLOBvalues;
#endif /* NUMGLOBS_H */
#endif

View File

@ -70,4 +70,4 @@ typedef struct sONEcontact
double workf; /* metal work function */
} ONEcontact;
#endif /* ONEDEV_H */
#endif

View File

@ -127,4 +127,4 @@ typedef struct sONEnode {
#define ONEnumNodeStates 5
#define ONEnumEdgeStates 2
#endif /* ONEMESH */
#endif

View File

@ -21,4 +21,4 @@ typedef struct {
char *JOBname;
} OP;
#endif /*DCOP*/
#endif

View File

@ -136,4 +136,4 @@ typedef struct {
#define OPT_TOTALDEV 200 /* Total devices in the netlist */
#endif /*OPT*/
#endif

View File

@ -57,4 +57,4 @@ typedef struct sOPTNcard {
#define OPTN_IC_FILE 18
#define OPTN_UNIQUE 19
#endif /* OPTN_H */
#endif

View File

@ -104,4 +104,4 @@ typedef struct sOUTPcard {
#define OUTP_MUN 30
#define OUTP_MUP 31
#endif /* OUTP_H */
#endif

View File

@ -51,4 +51,4 @@ typedef struct sDOPtable {
#define IMP_N_TYPE 5
#define IMP_P_TYPE 6
#endif /* PROFILE_H */
#endif

View File

@ -67,4 +67,4 @@ struct SENstruct {
#define SEN_DEV 4
#define SEN_PARM 5
#endif /* SENSTRUCTS */
#endif

View File

@ -40,4 +40,4 @@ int SMPcZeroCol(SMPmatrix *eMatrix, int Col);
int SMPcAddCol(SMPmatrix *eMatrix, int Accum_Col, int Addend_Col);
int SMPzeroRow(SMPmatrix *eMatrix, int Row);
#endif /*SMP*/
#endif

View File

@ -37,4 +37,4 @@ struct TFan {
#define TF_OUTNAME 5
#endif /*TF*/
#endif

View File

@ -32,4 +32,4 @@ typedef struct {
#define TRAN_TSTEP 3
#define TRAN_TMAX 4
#define TRAN_UIC 5
#endif /*TRAN*/
#endif

View File

@ -54,4 +54,4 @@ typedef struct {
#define DCT_NAME2 9
#define DCT_TYPE2 10
#endif /*DCTR*/
#endif

View File

@ -68,4 +68,4 @@ struct TSKtask {
unsigned int TSKnoopac:1; /* flag for no OP calculation before AC */
};
#endif /*TSK*/
#endif

View File

@ -104,4 +104,4 @@ struct mosConductances
double dIgDVgb;
};
#endif /* TWODEV_H */
#endif

View File

@ -209,4 +209,4 @@ typedef struct sTWOnode {
#define TWOnumNodeStates 5
#define TWOnumEdgeStates 2
#endif /* TWOMESH_H */
#endif

View File

@ -102,5 +102,5 @@ int fp_u_t_char(int __c);
/*----------------------------------------------------------------------------*/
#endif /* WSTDIO_H */
#endif

View File

@ -19,4 +19,4 @@ extern double MuLim, MutLim;
extern void evalAccLimits(void);
#endif /* ACCURACY_H */
#endif

View File

@ -12,4 +12,4 @@
extern void bernoulli (double, double *, double *, double *,
double *, BOOLEAN);
#endif /* BERNOULL_H */
#endif

View File

@ -14,4 +14,4 @@ extern double oneNorm(double *, int);
extern double l2Norm(double *, int);
extern double dot(double *, double *, int);
#endif /* NORM_H */
#endif

View File

@ -399,4 +399,4 @@
#define FULL 2
#endif /* spINSIDE_SPARSE */
#endif /* spCONFIG_DEFS */
#endif