cleanup, reduce `#include' incantations
This commit is contained in:
parent
fc9976e2fa
commit
31b5e7d40a
|
|
@ -1,31 +1,16 @@
|
|||
#include "ngspice/ngspice.h"
|
||||
#include "ngspice/config.h"
|
||||
#include "ngspice/cktdefs.h"
|
||||
//#include "ngspice/cktaccept.h"
|
||||
#include "ngspice/trandefs.h"
|
||||
#include "ngspice/sperror.h"
|
||||
#include "ngspice/fteext.h"
|
||||
#include "ngspice/missing_math.h"
|
||||
|
||||
#include "../frontend/outitf.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef XSPICE
|
||||
/* gtri - add - wbk - Add headers */
|
||||
#include "ngspice/miftypes.h"
|
||||
|
||||
#include "ngspice/evt.h"
|
||||
#include "ngspice/mif.h"
|
||||
#include "ngspice/evtproto.h"
|
||||
#include "ngspice/ipctiein.h"
|
||||
/* gtri - end - wbk - Add headers */
|
||||
#endif
|
||||
|
||||
#include "ngspice/lxt2_write.h"
|
||||
|
||||
#ifdef CLUSTER
|
||||
#include "cluster.h"
|
||||
#endif
|
||||
|
||||
#define CKALLOC(var,size,type) \
|
||||
if(size) { \
|
||||
if(!(var = (type *) MALLOC((size) * sizeof(type)))) \
|
||||
|
|
|
|||
|
|
@ -1,30 +1,15 @@
|
|||
#include "ngspice/ngspice.h"
|
||||
#include "ngspice/config.h"
|
||||
#include "ngspice/cktdefs.h"
|
||||
//#include "ngspice/cktaccept.h"
|
||||
#include "ngspice/trandefs.h"
|
||||
#include "ngspice/sperror.h"
|
||||
#include "ngspice/fteext.h"
|
||||
#include "ngspice/missing_math.h"
|
||||
|
||||
#include "../frontend/outitf.h"
|
||||
|
||||
#ifdef XSPICE
|
||||
/* gtri - add - wbk - Add headers */
|
||||
#include "ngspice/miftypes.h"
|
||||
|
||||
#include "ngspice/evt.h"
|
||||
#include "ngspice/mif.h"
|
||||
#include "ngspice/evtproto.h"
|
||||
#include "ngspice/ipctiein.h"
|
||||
/* gtri - end - wbk - Add headers */
|
||||
#endif
|
||||
|
||||
#include "ngspice/lxt2_write.h"
|
||||
|
||||
#ifdef CLUSTER
|
||||
#include "cluster.h"
|
||||
#endif
|
||||
|
||||
#define CKALLOC(var,size,type) \
|
||||
if(size) { \
|
||||
if(!(var = (type *) MALLOC((size) * sizeof(type)))) \
|
||||
|
|
|
|||
|
|
@ -1,14 +1,6 @@
|
|||
#include "ngspice/ngspice.h"
|
||||
#include "ngspice/cktdefs.h"
|
||||
//#include "util.h"
|
||||
|
||||
#include "ngspice/mif.h"
|
||||
#include "ngspice/evt.h"
|
||||
#include "ngspice/evtudn.h"
|
||||
|
||||
#include "ngspice/mifproto.h"
|
||||
#include "ngspice/evtproto.h"
|
||||
#include "ngspice/cm.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
static char *EVTbitmap(int i);
|
||||
|
|
|
|||
Loading…
Reference in New Issue