remove prototypes, avoid redeclarations
This commit is contained in:
parent
f49a0e765b
commit
d7a9d71a1a
70
ChangeLog
70
ChangeLog
|
|
@ -1,3 +1,73 @@
|
|||
2010-10-16 Robert Larice
|
||||
* src/frontend/aspice.h ,
|
||||
* src/frontend/breakp.h ,
|
||||
* src/frontend/breakp2.h ,
|
||||
* src/frontend/circuits.h ,
|
||||
* src/frontend/com_alias.h ,
|
||||
* src/frontend/com_history.h ,
|
||||
* src/frontend/control.h ,
|
||||
* src/frontend/cpitf.h ,
|
||||
* src/frontend/define.h ,
|
||||
* src/frontend/dotcards.h ,
|
||||
* src/frontend/error.h ,
|
||||
* src/frontend/evaluate.h ,
|
||||
* src/frontend/gens.h ,
|
||||
* src/frontend/inp.h ,
|
||||
* src/frontend/inpcom.h ,
|
||||
* src/frontend/interp.h ,
|
||||
* src/frontend/nutinp.h ,
|
||||
* src/frontend/nutmegif.h ,
|
||||
* src/frontend/options.h ,
|
||||
* src/frontend/parse.h ,
|
||||
* src/frontend/parser/backq.h ,
|
||||
* src/frontend/parser/complete.h ,
|
||||
* src/frontend/parser/cshpar.h ,
|
||||
* src/frontend/parser/glob.h ,
|
||||
* src/frontend/parser/input.h ,
|
||||
* src/frontend/parser/lexical.h ,
|
||||
* src/frontend/parser/numparse.h ,
|
||||
* src/frontend/parser/unixcom.h ,
|
||||
* src/frontend/plotting/clip.h ,
|
||||
* src/frontend/plotting/plotcurv.h ,
|
||||
* src/frontend/plotting/plotting.h ,
|
||||
* src/frontend/points.h ,
|
||||
* src/frontend/quote.h ,
|
||||
* src/frontend/rawfile.h ,
|
||||
* src/frontend/resource.h ,
|
||||
* src/frontend/runcoms.h ,
|
||||
* src/frontend/shyu.h ,
|
||||
* src/frontend/spiceif.h ,
|
||||
* src/frontend/terminal.h ,
|
||||
* src/frontend/typesdef.h ,
|
||||
* src/frontend/variable.h ,
|
||||
* src/frontend/vectors.h ,
|
||||
* src/include/cpextern.h ,
|
||||
* src/include/cpstd.h ,
|
||||
* src/include/fteext.h ,
|
||||
* src/include/hlpdefs.h ,
|
||||
* src/include/opdefs.h ,
|
||||
* src/include/tfdefs.h ,
|
||||
* src/include/trandefs.h ,
|
||||
* src/maths/ni/niaciter.h ,
|
||||
* src/maths/ni/nicomcof.h ,
|
||||
* src/maths/ni/niconv.h ,
|
||||
* src/maths/ni/nidest.h ,
|
||||
* src/maths/ni/niditer.h ,
|
||||
* src/maths/ni/niinit.h ,
|
||||
* src/maths/ni/niinteg.h ,
|
||||
* src/maths/ni/niiter.h ,
|
||||
* src/maths/ni/niniter.h ,
|
||||
* src/maths/ni/nipzmeth.h ,
|
||||
* src/maths/ni/nireinit.h ,
|
||||
* src/maths/ni/nisenre.h ,
|
||||
* src/spicelib/devices/bjt/bjtdset.h ,
|
||||
* src/spicelib/devices/bjt2/bjt2dset.h ,
|
||||
* src/spicelib/devices/cktaccept.h ,
|
||||
* src/spicelib/parser/inppas1.h ,
|
||||
* src/spicelib/parser/inppas2.h ,
|
||||
* src/spicelib/parser/inppas3.h :
|
||||
remove prototypes, avoid redeclarations
|
||||
|
||||
2010-10-16 Robert Larice
|
||||
* src/frontend/inp.c ,
|
||||
* src/frontend/nutinp.c ,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
void com_aspice(wordlist *wl);
|
||||
void com_jobs(wordlist *wl);
|
||||
void ft_checkkids(void);
|
||||
void com_rspice(wordlist *wl);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,7 @@ void com_trce(wordlist *wl);
|
|||
void com_iplot(wordlist *wl);
|
||||
void com_step(wordlist *wl);
|
||||
void com_sttus(wordlist *wl);
|
||||
void dbfree(struct dbcomm *db);
|
||||
void com_delete(wordlist *wl);
|
||||
bool ft_bpcheck(struct plot *runplot, int iteration);
|
||||
void ft_trquery(void);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
void com_save(wordlist *wl);
|
||||
void com_save2(wordlist *wl, char *name);
|
||||
void settrace(wordlist *wl, int what, char *name);
|
||||
int ft_getSaves(struct save_info **savesp);
|
||||
|
||||
extern struct dbcomm *dbs;
|
||||
extern int debugnumber;
|
||||
|
|
|
|||
|
|
@ -13,10 +13,8 @@ struct subcirc {
|
|||
} ;
|
||||
|
||||
|
||||
extern struct circ *ft_curckt; /* The default active circuit. */
|
||||
|
||||
|
||||
void ft_newcirc(struct circ *ckt);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@
|
|||
#ifndef ALIAS_H_INCLUDED
|
||||
#define ALIAS_H_INCLUDED
|
||||
|
||||
wordlist * cp_doalias(wordlist *wlist);
|
||||
void cp_setalias(char *word, wordlist *wlist);
|
||||
void cp_unalias(char *word);
|
||||
void cp_paliases(char *word);
|
||||
void com_alias(wordlist *wl);
|
||||
void com_unalias(wordlist *wl);
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@
|
|||
#ifndef _COM_HISTORY_H
|
||||
#define _COM_HISTORY_H
|
||||
|
||||
wordlist * cp_histsubst(wordlist *wlist);
|
||||
void cp_addhistent(int event, wordlist *wlist);
|
||||
void cp_hprint(int eventhi, int eventlo, bool rev);
|
||||
void com_history(wordlist *wl);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,5 @@ enum co_command {
|
|||
extern struct control *control[CONTROLSTACKSIZE];
|
||||
extern struct control *cend[CONTROLSTACKSIZE];
|
||||
extern int stackp;
|
||||
extern bool cp_dounixcom;
|
||||
|
||||
#endif /* CONTROL_H */
|
||||
|
|
|
|||
|
|
@ -6,11 +6,6 @@
|
|||
#ifndef CPITF_H_INCLUDED
|
||||
#define CPITF_H_INCLUDED
|
||||
|
||||
void ft_cpinit(void);
|
||||
bool cp_istrue(wordlist *wl);
|
||||
void cp_periodic(void);
|
||||
void cp_doquit(void);
|
||||
bool cp_oddcomm(char *s, wordlist *wl);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define DEFINE_H_INCLUDED
|
||||
|
||||
void com_define(wordlist *wlist);
|
||||
struct pnode * ft_substdef(const char *name, struct pnode *args);
|
||||
void com_undefine(wordlist *wlist);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@
|
|||
#ifndef DOTCARDS_H_INCLUDED
|
||||
#define DOTCARDS_H_INCLUDED
|
||||
|
||||
void ft_dotsaves(void);
|
||||
int ft_savedotargs(void);
|
||||
int ft_cktcoms(bool terse);
|
||||
wordlist *gettoks(char *s);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,5 @@
|
|||
#define ERROR_H_INCLUDED
|
||||
|
||||
void controlled_exit(int status);
|
||||
void fperror(char *mess, int code);
|
||||
void ft_sperror(int code, char *mess);
|
||||
void fatal(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#include <dvec.h>
|
||||
#include <pnode.h>
|
||||
|
||||
struct dvec * ft_evaluate(struct pnode *node);
|
||||
struct dvec * op_plus(struct pnode *arg1, struct pnode *arg2);
|
||||
struct dvec * op_minus(struct pnode *arg1, struct pnode *arg2);
|
||||
struct dvec * op_comma(struct pnode *arg1, struct pnode *arg2);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#include "dgen.h"
|
||||
|
||||
void wl_forall(wordlist *wl, void (*fn)(wordlist*, dgen*), dgen *data);
|
||||
dgen * dgen_init(GENcircuit *ckt, wordlist *wl, int nomix, int flag, int model);
|
||||
int dgen_for_n(dgen *dg, int n, int (*fn) (dgen*, IFparm*, int), IFparm *data, int subindex);
|
||||
void dgen_nth_next(dgen **dg, int n);
|
||||
|
||||
|
|
|
|||
|
|
@ -7,13 +7,8 @@
|
|||
#define INP_H_INCLUDED
|
||||
|
||||
void com_listing(wordlist *wl);
|
||||
void inp_list(FILE *file, struct line *deck, struct line *extras, int type);
|
||||
void inp_spsource(FILE *fp, bool comfile, char *filename);
|
||||
void inp_dodeck(struct line *deck, char *tt, wordlist *end, bool reuse,
|
||||
struct line *options, char *filename);
|
||||
void com_edit(wordlist *wl);
|
||||
void com_source(wordlist *wl);
|
||||
void inp_source(char *file);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,8 +6,5 @@
|
|||
#ifndef INPCOM_H_INCLUDED
|
||||
#define INPCOM_H_INCLUDED
|
||||
|
||||
FILE * inp_pathopen(char *name, char *mode);
|
||||
void inp_readall(FILE *fp, struct line **data, int, char *dirname, bool comfile);
|
||||
void inp_casefix(register char *string);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,12 +6,7 @@
|
|||
#ifndef INTERP_H_INCLUDED
|
||||
#define INTERP_H_INCLUDED
|
||||
|
||||
bool ft_interpolate(double *data, double *ndata, double *oscale, int olen, double *nscale,
|
||||
int nlen, int degree);
|
||||
bool ft_polyfit(double *xdata, double *ydata, double *result, int degree, double *scratch);
|
||||
double ft_peval(double x, double *coeffs, int degree);
|
||||
void lincopy(struct dvec *ov, double *newscale, int newlen, struct dvec *oldscale);
|
||||
void ft_polyderiv(double *coeffs, int degree);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,11 +6,7 @@
|
|||
#ifndef NUTINP_H_INCLUDED
|
||||
#define NUTINP_H_INCLUDED
|
||||
|
||||
void inp_nutsource(FILE *fp, bool comfile, char *filename);
|
||||
void nutcom_source(wordlist *wl);
|
||||
void nutinp_source(char *file);
|
||||
void nutinp_dodeck(struct line *deck, char *tt, wordlist *end, bool reuse,
|
||||
struct line *options, char *filename);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef NUTMEGIF_H_INCLUDED
|
||||
#define NUTMEGIF_H_INCLUDED
|
||||
|
||||
struct variable * nutif_getparam(CKTcircuit *ckt, char **name, char *param, int ind, int do_model);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@
|
|||
#ifndef OPTIONS_H_INCLUDED
|
||||
#define OPTIONS_H_INCLUDED
|
||||
|
||||
struct variable * cp_enqvar(char *word);
|
||||
void cp_usrvars(struct variable **v1, struct variable **v2);
|
||||
struct line * inp_getopts(struct line *deck);
|
||||
int cp_usrset(struct variable *var, bool isset);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -10,11 +10,9 @@
|
|||
#include <pnode.h>
|
||||
#include <wordlist.h>
|
||||
|
||||
struct pnode * ft_getpnames(wordlist *wl, bool check);
|
||||
#ifndef free_pnode
|
||||
#define free_pnode(ptr) free_pnode_x(ptr); ptr=NULL;
|
||||
#endif
|
||||
void free_pnode_x(struct pnode *t);
|
||||
|
||||
void free_pnode_o(struct pnode *t);
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
#ifndef BACKQ_H_INCLUDED
|
||||
#define BACKQ_H_INCLUDED
|
||||
|
||||
extern char cp_back;
|
||||
|
||||
wordlist * cp_bquote(wordlist *wlist);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -28,17 +28,6 @@ struct ccom {
|
|||
} ;
|
||||
|
||||
|
||||
void cp_ccom(wordlist *wlist, char *buf, bool esc);
|
||||
wordlist * cp_cctowl(char *stuff);
|
||||
void cp_ccon(bool on);
|
||||
bool cp_comlook(char *word);
|
||||
void cp_addcomm(char *word, long int bits0, long int bits1, long int bits2,
|
||||
long int bits3);
|
||||
void cp_remcomm(char *word);
|
||||
void cp_addkword(int class, char *word);
|
||||
void cp_remkword(int class, char *word);
|
||||
char * cp_kwswitch(int class, char *tree);
|
||||
void cp_ccrestart(bool kwords);
|
||||
void throwaway(struct ccom *dbase);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,5 @@
|
|||
#ifndef CSHPAR_H_INCLUDED
|
||||
#define CSHPAR_H_INCLUDED
|
||||
|
||||
wordlist * cp_parse(char *string);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@
|
|||
#ifndef GLOB_H_INCLUDED
|
||||
#define GLOB_H_INCLUDED
|
||||
|
||||
wordlist * cp_doglob(wordlist *wlist);
|
||||
char * cp_tildexpand(char *string);
|
||||
bool cp_globmatch(char *p, char *s);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define INPUT_H_INCLUDED
|
||||
|
||||
|
||||
int inchar(FILE *fp);
|
||||
int input(FILE *fp);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
#define LEXICAL_H_INCLUDED
|
||||
|
||||
|
||||
wordlist * cp_lexer(char *string);
|
||||
int inchar(FILE *fp);
|
||||
int input(FILE *fp);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define NUMPARSE_H_INCLUDED
|
||||
|
||||
|
||||
double * ft_numparse(char **s, bool whole);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,9 +7,6 @@
|
|||
#define UNIXCOM_H_INCLUDED
|
||||
|
||||
|
||||
void cp_rehash(char *pathlist, bool docc);
|
||||
bool cp_unixcom(wordlist *wl);
|
||||
void cp_hstat(void);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,5 @@
|
|||
#define CLIP_H_INCLUDED
|
||||
|
||||
|
||||
bool clip_line(int *pX1, int *pY1, int *pX2, int *pY2, int l, int b, int r, int t);
|
||||
bool clip_to_circle(int *x1, int *y1, int *x2, int *y2, int cx, int cy, int rad);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef PLOTCURV_H_INCLUDED
|
||||
#define PLOTCURV_H_INCLUDED
|
||||
|
||||
void ft_graf(struct dvec *v, struct dvec *xs, bool nostart);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -4,8 +4,5 @@
|
|||
#include <plot.h>
|
||||
|
||||
extern struct plot constantplot;
|
||||
extern struct plot *plot_list;
|
||||
extern int plotl_changed;
|
||||
extern int plot_num;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef POINTS_H_INCLUDED
|
||||
#define POINTS_H_INCLUDED
|
||||
|
||||
double * ft_minmax(struct dvec *v, bool real);
|
||||
int ft_findpoint(double pt, double *lims, int maxp, int minp, bool islog);
|
||||
double * ft_SMITHminmax(struct dvec *v, bool yval);
|
||||
int SMITH_tfm(double re, double im, double *x, double *y);
|
||||
|
||||
|
|
|
|||
|
|
@ -7,11 +7,6 @@
|
|||
#define QUOTE_H_INCLUDED
|
||||
|
||||
|
||||
void cp_wstrip(char *str);
|
||||
void cp_quoteword(char *str);
|
||||
void cp_printword(char *string, FILE *fp);
|
||||
void cp_striplist(wordlist *wlist);
|
||||
char * cp_unquote(char *string);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@
|
|||
#ifndef RAWFILE_H_INCLUDED
|
||||
#define RAWFILE_H_INCLUDED
|
||||
|
||||
void raw_write(char *name, struct plot *pl, bool app, bool binary);
|
||||
void spar_write(char *name, struct plot *pl, double val);
|
||||
struct plot * raw_read(char *name);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
void init_rlimits(void);
|
||||
void init_time(void);
|
||||
void com_rusage(wordlist *wl);
|
||||
void ft_ckspace(void);
|
||||
|
||||
|
||||
struct proc_mem {
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@ void com_sens(wordlist *wl);
|
|||
void com_disto(wordlist *wl);
|
||||
void com_noise(wordlist *wl);
|
||||
void com_run(wordlist *wl);
|
||||
int ft_dorun(char *file);
|
||||
bool ft_getOutReq(FILE **fpp, struct plot **plotp, bool *binp, char *name, char *title);
|
||||
|
||||
extern FILE *rawfileFp;
|
||||
extern bool rawfileBinary;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef SHYU_H_INCLUDED
|
||||
#define SHYU_H_INCLUDED
|
||||
|
||||
int if_sens_run(CKTcircuit *t, wordlist *args, INPtables *tab);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -12,14 +12,7 @@ int if_run(CKTcircuit *t, char *what, wordlist *args, INPtables *tab);
|
|||
int if_option(CKTcircuit *ckt, char *name, enum cp_types type, void *value);
|
||||
void if_dump(CKTcircuit *ckt, FILE *file);
|
||||
void if_cktfree(CKTcircuit *ckt, INPtables *tab);
|
||||
char * if_errstring(int code);
|
||||
struct variable * spif_getparam(CKTcircuit *ckt, char **name, char *param, int ind, int do_model);
|
||||
struct variable * spif_getparam_special(CKTcircuit *ckt,char **name,char *param,int ind,int do_model);
|
||||
void if_setparam_model(CKTcircuit *ckt, char **name, char *val);
|
||||
void if_setparam(CKTcircuit *ckt, char **name, char *param, struct dvec *val, int do_model);
|
||||
int if_analQbyName(CKTcircuit *ckt, int which, JOB *anal, char *name, IFvalue *parm);
|
||||
bool if_tranparams(struct circ *ci, double *start, double *stop, double *step);
|
||||
struct variable * if_getstat(CKTcircuit *ckt, char *name);
|
||||
|
||||
#ifdef EXPERIMENTAL_CODE
|
||||
void com_loadsnap(wordlist *wl);
|
||||
|
|
|
|||
|
|
@ -1,18 +1,10 @@
|
|||
#ifndef _TERMINAL_H
|
||||
#define _TERMINAL_H
|
||||
|
||||
extern bool out_isatty;
|
||||
|
||||
void out_init(void);
|
||||
void outbufputc(void);
|
||||
void promptreturn(void);
|
||||
void out_send(char *string);
|
||||
|
||||
#ifdef __GNUC__
|
||||
extern void out_printf(char *fmt, ...) __attribute__ ((format (__printf__, 1, 2)));
|
||||
#else
|
||||
extern void out_printf(char *fmt, ...);
|
||||
#endif
|
||||
|
||||
void term_clear(void);
|
||||
void term_home(void);
|
||||
|
|
|
|||
|
|
@ -7,10 +7,6 @@
|
|||
#define TYPESDEF_H_INCLUDED
|
||||
|
||||
void com_dftype(wordlist *wl);
|
||||
char * ft_typabbrev(int typenum);
|
||||
char * ft_typenames(int typenum);
|
||||
int ft_typnum(char *name);
|
||||
char * ft_plotabbrev(char *string);
|
||||
void com_stype(wordlist *wl);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,21 +37,11 @@ struct xxx {
|
|||
|
||||
|
||||
extern struct variable *variables;
|
||||
extern bool cp_noglob;
|
||||
extern bool cp_nonomatch;
|
||||
extern bool cp_noclobber;
|
||||
extern bool cp_ignoreeof;
|
||||
extern bool cp_echo;
|
||||
|
||||
/* extern struct variable *variables; */
|
||||
wordlist * cp_varwl(struct variable *var);
|
||||
void cp_vset(char *varname, enum cp_types type, void *value);
|
||||
struct variable * cp_setparse(wordlist *wl);
|
||||
void cp_remvar(char *varname);
|
||||
bool cp_getvar(char *name, enum cp_types type, void *retval);
|
||||
wordlist * cp_variablesubst(wordlist *wlist);
|
||||
wordlist * vareval(char *string);
|
||||
void cp_vprint(void);
|
||||
void free_struct_variable(struct variable *v);
|
||||
|
||||
#endif /* _VARIABLE_H */
|
||||
|
|
|
|||
|
|
@ -7,24 +7,7 @@
|
|||
#ifndef VECTORS_H_INCLUDED
|
||||
#define VECTORS_H_INCLUDED
|
||||
|
||||
void ft_loadfile(char *file);
|
||||
void plot_add(struct plot *pl);
|
||||
void vec_remove(char *name);
|
||||
struct dvec * vec_fromplot(char *word, struct plot *plot);
|
||||
void plot_docoms(wordlist *wl);
|
||||
struct dvec * vec_copy(struct dvec *v);
|
||||
struct plot * plot_alloc(char *name);
|
||||
void vec_new(struct dvec *d);
|
||||
void vec_gc(void);
|
||||
#define vec_free(ptr) vec_free_x(ptr); ptr=NULL
|
||||
void vec_free_x(struct dvec *v);
|
||||
bool vec_eq(struct dvec *v1, struct dvec *v2);
|
||||
char * vec_basename(struct dvec *v);
|
||||
void plot_setcur(char *name);
|
||||
void plot_new(struct plot *pl);
|
||||
void vec_transpose(struct dvec *v);
|
||||
struct dvec * vec_mkfamily(struct dvec *v);
|
||||
bool plot_prefix(char *pre, char *str);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -148,7 +148,6 @@ extern char *cp_unquote(char *string);
|
|||
extern void cp_quoteword(char *str);
|
||||
extern void cp_striplist(wordlist *wlist);
|
||||
extern void cp_wstrip(char *str);
|
||||
extern void cp_printword(char *string, FILE *fp);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
|
|||
extern char *tildexpand(char *string);
|
||||
extern void printnum(char *buf, double num);
|
||||
extern int cp_numdgt;
|
||||
extern void fatal(void);
|
||||
|
||||
extern void cp_printword(char *string, FILE *fp);
|
||||
|
||||
|
|
|
|||
|
|
@ -22,10 +22,6 @@ Modified: 1999 Paolo Nenzi - 2000 AlansFixes
|
|||
#include "ftedefs.h"
|
||||
#include "fteinp.h"
|
||||
|
||||
/* arg.c */
|
||||
|
||||
extern void outmenuprompt(char *string);
|
||||
|
||||
/* aspice.c */
|
||||
|
||||
extern void com_aspice(wordlist *wl);
|
||||
|
|
@ -44,7 +40,6 @@ extern void com_step(wordlist *wl);
|
|||
extern void com_stop(wordlist *wl);
|
||||
extern void com_sttus(wordlist *wl);
|
||||
extern void com_trce(wordlist *wl);
|
||||
extern void ft_trquery(void);
|
||||
extern void dbfree(struct dbcomm *db);
|
||||
|
||||
|
||||
|
|
@ -105,16 +100,10 @@ extern void *cx_deriv(void *, short int , int , int *, short int *, struct plot
|
|||
extern void *cx_group_delay(void *, short int , int , int *, short int *, struct plot *, struct plot *, int );
|
||||
|
||||
|
||||
/* cmdtab.c */
|
||||
|
||||
extern struct comm *cp_coms;
|
||||
|
||||
/* compose.c */
|
||||
|
||||
extern void com_compose(wordlist *wl);
|
||||
|
||||
/* cpinterface.c symbols declared in CPextern.h */
|
||||
|
||||
/* debugcoms.c */
|
||||
|
||||
extern void com_dump(wordlist *wl);
|
||||
|
|
@ -161,7 +150,6 @@ extern int ft_savedotargs(void);
|
|||
|
||||
/* error.c */
|
||||
|
||||
extern void fatal(void);
|
||||
extern void fperror(char *mess, int code);
|
||||
extern void ft_sperror(int code, char *mess);
|
||||
extern char ErrorMessage[];
|
||||
|
|
@ -211,8 +199,6 @@ extern void gi_update();
|
|||
|
||||
extern bool gr_gmode;
|
||||
extern bool gr_hmode;
|
||||
extern void gr_iplot(struct plot *plot);
|
||||
extern void gr_pmsg(char *text);
|
||||
extern double gr_xrange[2];
|
||||
extern double gr_yrange[2];
|
||||
extern int gr_xmargin;
|
||||
|
|
@ -282,7 +268,6 @@ extern bool ft_asyncdb;
|
|||
extern char *ft_setkwords[];
|
||||
extern struct line *inp_getopts(struct line *deck);
|
||||
extern struct line *inp_getoptsc(char *in_line, struct line *com_options);
|
||||
extern struct variable *cp_enqvar(char *word);
|
||||
extern bool ft_ngdebug;
|
||||
|
||||
/* parse.c */
|
||||
|
|
@ -332,7 +317,6 @@ extern void TausSeed(void);
|
|||
|
||||
extern void com_rusage(wordlist *wl);
|
||||
extern void ft_ckspace(void);
|
||||
extern void init_rlimits(void);
|
||||
|
||||
/* runcoms.c */
|
||||
|
||||
|
|
@ -358,7 +342,6 @@ extern bool ft_getOutReq(FILE **, struct plot **, bool *, char *, char *);
|
|||
extern bool ft_nutmeg;
|
||||
extern IFsimulator *ft_sim;
|
||||
extern char *ft_rawfile;
|
||||
extern char *cp_program;
|
||||
extern int main(int argc, char **argv);
|
||||
|
||||
/* spiceif.c & nutmegif.c */
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ extern void hlp_pathfix(char *buf);
|
|||
extern topic *hlp_read(fplace *place);
|
||||
extern void hlp_free(void);
|
||||
extern long findsubject(char *filename, char *subject);
|
||||
extern bool hlp_approvedfile(char *filename);
|
||||
|
||||
/* provide.c */
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,4 @@ typedef struct {
|
|||
char *JOBname;
|
||||
} OP;
|
||||
|
||||
extern int DCOsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value);
|
||||
extern int DCOaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value);
|
||||
#endif /*DCOP*/
|
||||
|
|
|
|||
|
|
@ -36,7 +36,5 @@ struct TFan {
|
|||
#define TF_INSRC 4
|
||||
#define TF_OUTNAME 5
|
||||
|
||||
extern int TFsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value);
|
||||
extern int TFaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value);
|
||||
|
||||
#endif /*TF*/
|
||||
|
|
|
|||
|
|
@ -32,6 +32,4 @@ typedef struct {
|
|||
#define TRAN_TSTEP 3
|
||||
#define TRAN_TMAX 4
|
||||
#define TRAN_UIC 5
|
||||
extern int TRANsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value);
|
||||
extern int TRANaskQuest(CKTcircuit *ckt, JOB *anal, int which,IFvalue *value);
|
||||
#endif /*TRAN*/
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef NIACITER_H_INCLUDED
|
||||
#define NIACITER_H_INCLUDED
|
||||
|
||||
int NIacIter(register CKTcircuit *ckt);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef NICOMCOF_H_INCLUDED
|
||||
#define NICOMCOF_H_INCLUDED
|
||||
|
||||
int NIcomCof(CKTcircuit *ckt);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef NICONV_H_INCLUDED
|
||||
#define NICONV_H_INCLUDED
|
||||
|
||||
int NIconvTest(register CKTcircuit *ckt);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,6 +7,5 @@
|
|||
#define NIDEST_H_INCLUDED
|
||||
|
||||
|
||||
void NIdestroy(register CKTcircuit *ckt);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define NIDITER_H_INCLUDED
|
||||
|
||||
|
||||
int NIdIter(register CKTcircuit *ckt);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define NIINIT_H_INCLUDED
|
||||
|
||||
|
||||
int NIinit(CKTcircuit *ckt);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define NIINTEG_H_INCLUDED
|
||||
|
||||
|
||||
int NIintegrate(register CKTcircuit *ckt, double *geq, double *ceq, double cap, int qcap);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define NIITER_H_INCLUDED
|
||||
|
||||
|
||||
int NIiter(register CKTcircuit *ckt, int maxIter);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef NINITER_H_INCLUDED
|
||||
#define NINITER_H_INCLUDED
|
||||
|
||||
void NInzIter(CKTcircuit *ckt, int posDrive, int negDrive);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,9 +6,5 @@
|
|||
#ifndef NIPZMETH_H_INCLUDED
|
||||
#define NIPZMETH_H_INCLUDED
|
||||
|
||||
int NIpzSym(PZtrial **set, PZtrial *new);
|
||||
int NIpzComplex(PZtrial **set, PZtrial *new);
|
||||
int NIpzMuller(PZtrial **set, PZtrial *newtry);
|
||||
int NIpzSym2(PZtrial **set, PZtrial *new);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,6 +6,5 @@
|
|||
#ifndef NIREINIT_H_INCLUDED
|
||||
#define NIREINIT_H_INCLUDED
|
||||
|
||||
int NIreinit(register CKTcircuit *ckt);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -6,6 +6,5 @@
|
|||
#ifndef NISENRE_H_INCLUDED
|
||||
#define NISENRE_H_INCLUDED
|
||||
|
||||
int NIsenReinit(register CKTcircuit *ckt);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef __BJTDSET_H
|
||||
#define __BJTDSET_H
|
||||
|
||||
int BJTdSetup(GENmodel *inModel, CKTcircuit *ckt);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef __BJT2DSET_H
|
||||
#define __BJT2DSET_H
|
||||
|
||||
int BJT2dSetup(GENmodel *inModel, CKTcircuit *ckt);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#ifndef _CKTACCEPT_H
|
||||
#define _CKTACCEPT_H
|
||||
|
||||
int CKTaccept(CKTcircuit *ckt);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,6 +3,5 @@
|
|||
|
||||
#include <inpdefs.h>
|
||||
|
||||
void INPpas1(CKTcircuit *ckt, card *deck, INPtables *tab);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <inpdefs.h>
|
||||
|
||||
void INPpas2(CKTcircuit *ckt, card *data, INPtables *tab, TSKtask *task);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#include <inpdefs.h>
|
||||
|
||||
void INPpas3(CKTcircuit *ckt, card *data, INPtables *tab, TSKtask *task,
|
||||
IFparm *nodeParms, int numNodeParams);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue