diff --git a/ChangeLog b/ChangeLog index 4950687b4..260c1e617 100644 --- a/ChangeLog +++ b/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 , diff --git a/src/frontend/aspice.h b/src/frontend/aspice.h index 89331ae5f..02f5e3ab7 100644 --- a/src/frontend/aspice.h +++ b/src/frontend/aspice.h @@ -9,7 +9,6 @@ void com_aspice(wordlist *wl); void com_jobs(wordlist *wl); -void ft_checkkids(void); void com_rspice(wordlist *wl); diff --git a/src/frontend/breakp.h b/src/frontend/breakp.h index beda7cab3..919132ed6 100644 --- a/src/frontend/breakp.h +++ b/src/frontend/breakp.h @@ -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); diff --git a/src/frontend/breakp2.h b/src/frontend/breakp2.h index 78da54092..35c68c4ad 100644 --- a/src/frontend/breakp2.h +++ b/src/frontend/breakp2.h @@ -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; diff --git a/src/frontend/circuits.h b/src/frontend/circuits.h index cbfb8bdbd..64fd622e4 100644 --- a/src/frontend/circuits.h +++ b/src/frontend/circuits.h @@ -13,10 +13,8 @@ struct subcirc { } ; -extern struct circ *ft_curckt; /* The default active circuit. */ -void ft_newcirc(struct circ *ckt); #endif diff --git a/src/frontend/com_alias.h b/src/frontend/com_alias.h index 2861fc69a..dd4e0d064 100644 --- a/src/frontend/com_alias.h +++ b/src/frontend/com_alias.h @@ -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); diff --git a/src/frontend/com_history.h b/src/frontend/com_history.h index 7b83b1272..2f9ce4994 100644 --- a/src/frontend/com_history.h +++ b/src/frontend/com_history.h @@ -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); diff --git a/src/frontend/control.h b/src/frontend/control.h index 1b6c99317..3e5e281a3 100644 --- a/src/frontend/control.h +++ b/src/frontend/control.h @@ -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 */ diff --git a/src/frontend/cpitf.h b/src/frontend/cpitf.h index 32857b028..e1cb33289 100644 --- a/src/frontend/cpitf.h +++ b/src/frontend/cpitf.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 diff --git a/src/frontend/define.h b/src/frontend/define.h index c9890333f..0fb8f75ff 100644 --- a/src/frontend/define.h +++ b/src/frontend/define.h @@ -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); diff --git a/src/frontend/dotcards.h b/src/frontend/dotcards.h index f25dbe5f6..89751efb8 100644 --- a/src/frontend/dotcards.h +++ b/src/frontend/dotcards.h @@ -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); diff --git a/src/frontend/error.h b/src/frontend/error.h index 3bb6c8d02..4d7ad9d5d 100644 --- a/src/frontend/error.h +++ b/src/frontend/error.h @@ -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 diff --git a/src/frontend/evaluate.h b/src/frontend/evaluate.h index 950389ca8..b27fdc395 100644 --- a/src/frontend/evaluate.h +++ b/src/frontend/evaluate.h @@ -9,7 +9,6 @@ #include #include -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); diff --git a/src/frontend/gens.h b/src/frontend/gens.h index 1f53b2002..daafa8c84 100644 --- a/src/frontend/gens.h +++ b/src/frontend/gens.h @@ -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); diff --git a/src/frontend/inp.h b/src/frontend/inp.h index 1ec0dfa84..717a43789 100644 --- a/src/frontend/inp.h +++ b/src/frontend/inp.h @@ -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 diff --git a/src/frontend/inpcom.h b/src/frontend/inpcom.h index fdfd923b5..f097b226a 100644 --- a/src/frontend/inpcom.h +++ b/src/frontend/inpcom.h @@ -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 diff --git a/src/frontend/interp.h b/src/frontend/interp.h index 248357f0a..4c6fe04ab 100644 --- a/src/frontend/interp.h +++ b/src/frontend/interp.h @@ -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 diff --git a/src/frontend/nutinp.h b/src/frontend/nutinp.h index a04e73cbf..699a998df 100644 --- a/src/frontend/nutinp.h +++ b/src/frontend/nutinp.h @@ -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); diff --git a/src/frontend/nutmegif.h b/src/frontend/nutmegif.h index c78e8ed7b..c6f6a7aa3 100644 --- a/src/frontend/nutmegif.h +++ b/src/frontend/nutmegif.h @@ -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 diff --git a/src/frontend/options.h b/src/frontend/options.h index 53c39dbf3..ce9a4ee5e 100644 --- a/src/frontend/options.h +++ b/src/frontend/options.h @@ -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 diff --git a/src/frontend/parse.h b/src/frontend/parse.h index 17e1b33c2..1cceebb35 100644 --- a/src/frontend/parse.h +++ b/src/frontend/parse.h @@ -10,11 +10,9 @@ #include #include -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); diff --git a/src/frontend/parser/backq.h b/src/frontend/parser/backq.h index 3d42e19db..13d8a8f87 100644 --- a/src/frontend/parser/backq.h +++ b/src/frontend/parser/backq.h @@ -7,8 +7,6 @@ #ifndef BACKQ_H_INCLUDED #define BACKQ_H_INCLUDED -extern char cp_back; -wordlist * cp_bquote(wordlist *wlist); #endif diff --git a/src/frontend/parser/complete.h b/src/frontend/parser/complete.h index 1399d0e39..1bd6da4e0 100644 --- a/src/frontend/parser/complete.h +++ b/src/frontend/parser/complete.h @@ -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); diff --git a/src/frontend/parser/cshpar.h b/src/frontend/parser/cshpar.h index b48d288b3..cd430a04c 100644 --- a/src/frontend/parser/cshpar.h +++ b/src/frontend/parser/cshpar.h @@ -7,6 +7,5 @@ #ifndef CSHPAR_H_INCLUDED #define CSHPAR_H_INCLUDED -wordlist * cp_parse(char *string); #endif diff --git a/src/frontend/parser/glob.h b/src/frontend/parser/glob.h index 01f73ce66..13c30ede2 100644 --- a/src/frontend/parser/glob.h +++ b/src/frontend/parser/glob.h @@ -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 diff --git a/src/frontend/parser/input.h b/src/frontend/parser/input.h index c5e9df378..cc77ce219 100644 --- a/src/frontend/parser/input.h +++ b/src/frontend/parser/input.h @@ -7,7 +7,6 @@ #define INPUT_H_INCLUDED -int inchar(FILE *fp); int input(FILE *fp); diff --git a/src/frontend/parser/lexical.h b/src/frontend/parser/lexical.h index cf08fbee9..c86de872c 100644 --- a/src/frontend/parser/lexical.h +++ b/src/frontend/parser/lexical.h @@ -7,8 +7,6 @@ #define LEXICAL_H_INCLUDED -wordlist * cp_lexer(char *string); -int inchar(FILE *fp); int input(FILE *fp); diff --git a/src/frontend/parser/numparse.h b/src/frontend/parser/numparse.h index 44fd91fbc..a69b24703 100644 --- a/src/frontend/parser/numparse.h +++ b/src/frontend/parser/numparse.h @@ -7,7 +7,6 @@ #define NUMPARSE_H_INCLUDED -double * ft_numparse(char **s, bool whole); diff --git a/src/frontend/parser/unixcom.h b/src/frontend/parser/unixcom.h index 64b15c02d..734df53f4 100644 --- a/src/frontend/parser/unixcom.h +++ b/src/frontend/parser/unixcom.h @@ -7,9 +7,6 @@ #define UNIXCOM_H_INCLUDED -void cp_rehash(char *pathlist, bool docc); -bool cp_unixcom(wordlist *wl); -void cp_hstat(void); diff --git a/src/frontend/plotting/clip.h b/src/frontend/plotting/clip.h index 24fb3abbe..d6a9fc13e 100644 --- a/src/frontend/plotting/clip.h +++ b/src/frontend/plotting/clip.h @@ -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 diff --git a/src/frontend/plotting/plotcurv.h b/src/frontend/plotting/plotcurv.h index 5f466cc6d..b85c78093 100644 --- a/src/frontend/plotting/plotcurv.h +++ b/src/frontend/plotting/plotcurv.h @@ -6,7 +6,6 @@ #ifndef PLOTCURV_H_INCLUDED #define PLOTCURV_H_INCLUDED -void ft_graf(struct dvec *v, struct dvec *xs, bool nostart); #endif diff --git a/src/frontend/plotting/plotting.h b/src/frontend/plotting/plotting.h index 9c741d53b..a3c0b2578 100644 --- a/src/frontend/plotting/plotting.h +++ b/src/frontend/plotting/plotting.h @@ -4,8 +4,5 @@ #include extern struct plot constantplot; -extern struct plot *plot_list; -extern int plotl_changed; -extern int plot_num; #endif diff --git a/src/frontend/points.h b/src/frontend/points.h index 74b9c268d..f26485ca8 100644 --- a/src/frontend/points.h +++ b/src/frontend/points.h @@ -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); diff --git a/src/frontend/quote.h b/src/frontend/quote.h index 5a9b659cc..214bb99d3 100644 --- a/src/frontend/quote.h +++ b/src/frontend/quote.h @@ -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 diff --git a/src/frontend/rawfile.h b/src/frontend/rawfile.h index b8e2c34cc..2e3dca4a9 100644 --- a/src/frontend/rawfile.h +++ b/src/frontend/rawfile.h @@ -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); diff --git a/src/frontend/resource.h b/src/frontend/resource.h index 1bd880003..0b0c22fc5 100644 --- a/src/frontend/resource.h +++ b/src/frontend/resource.h @@ -9,7 +9,6 @@ void init_rlimits(void); void init_time(void); void com_rusage(wordlist *wl); -void ft_ckspace(void); struct proc_mem { diff --git a/src/frontend/runcoms.h b/src/frontend/runcoms.h index 96529a14f..5dab2771b 100644 --- a/src/frontend/runcoms.h +++ b/src/frontend/runcoms.h @@ -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; diff --git a/src/frontend/shyu.h b/src/frontend/shyu.h index 0fc477a31..32b69794b 100644 --- a/src/frontend/shyu.h +++ b/src/frontend/shyu.h @@ -6,7 +6,6 @@ #ifndef SHYU_H_INCLUDED #define SHYU_H_INCLUDED -int if_sens_run(CKTcircuit *t, wordlist *args, INPtables *tab); #endif diff --git a/src/frontend/spiceif.h b/src/frontend/spiceif.h index 322a8a12e..2a9b1bd9a 100644 --- a/src/frontend/spiceif.h +++ b/src/frontend/spiceif.h @@ -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); diff --git a/src/frontend/terminal.h b/src/frontend/terminal.h index 63e39f2d2..3cbdf0270 100644 --- a/src/frontend/terminal.h +++ b/src/frontend/terminal.h @@ -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); diff --git a/src/frontend/typesdef.h b/src/frontend/typesdef.h index 5929a3b5f..5797ce1db 100644 --- a/src/frontend/typesdef.h +++ b/src/frontend/typesdef.h @@ -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); diff --git a/src/frontend/variable.h b/src/frontend/variable.h index c94b798b1..8cc869c06 100644 --- a/src/frontend/variable.h +++ b/src/frontend/variable.h @@ -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 */ diff --git a/src/frontend/vectors.h b/src/frontend/vectors.h index 35c4495d2..4f8e1b8f6 100644 --- a/src/frontend/vectors.h +++ b/src/frontend/vectors.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 diff --git a/src/include/cpextern.h b/src/include/cpextern.h index 3e5be5af5..f69d6516e 100644 --- a/src/include/cpextern.h +++ b/src/include/cpextern.h @@ -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); diff --git a/src/include/cpstd.h b/src/include/cpstd.h index 7248c091a..562b64d12 100644 --- a/src/include/cpstd.h +++ b/src/include/cpstd.h @@ -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); diff --git a/src/include/fteext.h b/src/include/fteext.h index 1bb4b0565..9fcc33968 100644 --- a/src/include/fteext.h +++ b/src/include/fteext.h @@ -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 */ diff --git a/src/include/hlpdefs.h b/src/include/hlpdefs.h index 58e732c6b..c5912835a 100644 --- a/src/include/hlpdefs.h +++ b/src/include/hlpdefs.h @@ -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 */ diff --git a/src/include/opdefs.h b/src/include/opdefs.h index 2859121b6..7ed29db8e 100644 --- a/src/include/opdefs.h +++ b/src/include/opdefs.h @@ -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*/ diff --git a/src/include/tfdefs.h b/src/include/tfdefs.h index 67c69d706..20a3ed7f7 100644 --- a/src/include/tfdefs.h +++ b/src/include/tfdefs.h @@ -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*/ diff --git a/src/include/trandefs.h b/src/include/trandefs.h index 0076d6a1f..f95a300d7 100644 --- a/src/include/trandefs.h +++ b/src/include/trandefs.h @@ -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*/ diff --git a/src/maths/ni/niaciter.h b/src/maths/ni/niaciter.h index 889e80f0a..9218b1d06 100644 --- a/src/maths/ni/niaciter.h +++ b/src/maths/ni/niaciter.h @@ -6,7 +6,6 @@ #ifndef NIACITER_H_INCLUDED #define NIACITER_H_INCLUDED -int NIacIter(register CKTcircuit *ckt); #endif diff --git a/src/maths/ni/nicomcof.h b/src/maths/ni/nicomcof.h index 59edb80ea..dbef6bcc9 100644 --- a/src/maths/ni/nicomcof.h +++ b/src/maths/ni/nicomcof.h @@ -6,7 +6,6 @@ #ifndef NICOMCOF_H_INCLUDED #define NICOMCOF_H_INCLUDED -int NIcomCof(CKTcircuit *ckt); #endif diff --git a/src/maths/ni/niconv.h b/src/maths/ni/niconv.h index 3e5bbb527..2e1008fab 100644 --- a/src/maths/ni/niconv.h +++ b/src/maths/ni/niconv.h @@ -6,7 +6,6 @@ #ifndef NICONV_H_INCLUDED #define NICONV_H_INCLUDED -int NIconvTest(register CKTcircuit *ckt); #endif diff --git a/src/maths/ni/nidest.h b/src/maths/ni/nidest.h index 2cd786d87..2fef401de 100644 --- a/src/maths/ni/nidest.h +++ b/src/maths/ni/nidest.h @@ -7,6 +7,5 @@ #define NIDEST_H_INCLUDED -void NIdestroy(register CKTcircuit *ckt); #endif diff --git a/src/maths/ni/niditer.h b/src/maths/ni/niditer.h index 722071221..aea4678d0 100644 --- a/src/maths/ni/niditer.h +++ b/src/maths/ni/niditer.h @@ -7,7 +7,6 @@ #define NIDITER_H_INCLUDED -int NIdIter(register CKTcircuit *ckt); #endif diff --git a/src/maths/ni/niinit.h b/src/maths/ni/niinit.h index cf49eba71..77e534393 100644 --- a/src/maths/ni/niinit.h +++ b/src/maths/ni/niinit.h @@ -7,7 +7,6 @@ #define NIINIT_H_INCLUDED -int NIinit(CKTcircuit *ckt); #endif diff --git a/src/maths/ni/niinteg.h b/src/maths/ni/niinteg.h index a7dbc59b8..14b914c02 100644 --- a/src/maths/ni/niinteg.h +++ b/src/maths/ni/niinteg.h @@ -7,7 +7,6 @@ #define NIINTEG_H_INCLUDED -int NIintegrate(register CKTcircuit *ckt, double *geq, double *ceq, double cap, int qcap); #endif diff --git a/src/maths/ni/niiter.h b/src/maths/ni/niiter.h index c8ea7934a..b3cb5a486 100644 --- a/src/maths/ni/niiter.h +++ b/src/maths/ni/niiter.h @@ -7,7 +7,6 @@ #define NIITER_H_INCLUDED -int NIiter(register CKTcircuit *ckt, int maxIter); #endif diff --git a/src/maths/ni/niniter.h b/src/maths/ni/niniter.h index a31eb11cd..0a5ffe7fc 100644 --- a/src/maths/ni/niniter.h +++ b/src/maths/ni/niniter.h @@ -6,7 +6,6 @@ #ifndef NINITER_H_INCLUDED #define NINITER_H_INCLUDED -void NInzIter(CKTcircuit *ckt, int posDrive, int negDrive); #endif diff --git a/src/maths/ni/nipzmeth.h b/src/maths/ni/nipzmeth.h index ccdf40982..06114964c 100644 --- a/src/maths/ni/nipzmeth.h +++ b/src/maths/ni/nipzmeth.h @@ -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 diff --git a/src/maths/ni/nireinit.h b/src/maths/ni/nireinit.h index 1827dd4cc..f082a8653 100644 --- a/src/maths/ni/nireinit.h +++ b/src/maths/ni/nireinit.h @@ -6,6 +6,5 @@ #ifndef NIREINIT_H_INCLUDED #define NIREINIT_H_INCLUDED -int NIreinit(register CKTcircuit *ckt); #endif diff --git a/src/maths/ni/nisenre.h b/src/maths/ni/nisenre.h index 9b3d89b78..e7cf164c0 100644 --- a/src/maths/ni/nisenre.h +++ b/src/maths/ni/nisenre.h @@ -6,6 +6,5 @@ #ifndef NISENRE_H_INCLUDED #define NISENRE_H_INCLUDED -int NIsenReinit(register CKTcircuit *ckt); #endif diff --git a/src/spicelib/devices/bjt/bjtdset.h b/src/spicelib/devices/bjt/bjtdset.h index d3b28685c..baee2f6ad 100644 --- a/src/spicelib/devices/bjt/bjtdset.h +++ b/src/spicelib/devices/bjt/bjtdset.h @@ -1,6 +1,5 @@ #ifndef __BJTDSET_H #define __BJTDSET_H -int BJTdSetup(GENmodel *inModel, CKTcircuit *ckt); #endif diff --git a/src/spicelib/devices/bjt2/bjt2dset.h b/src/spicelib/devices/bjt2/bjt2dset.h index 5a2dd5b16..533ff235e 100644 --- a/src/spicelib/devices/bjt2/bjt2dset.h +++ b/src/spicelib/devices/bjt2/bjt2dset.h @@ -1,6 +1,5 @@ #ifndef __BJT2DSET_H #define __BJT2DSET_H -int BJT2dSetup(GENmodel *inModel, CKTcircuit *ckt); #endif diff --git a/src/spicelib/devices/cktaccept.h b/src/spicelib/devices/cktaccept.h index c68be5601..6af0ee904 100644 --- a/src/spicelib/devices/cktaccept.h +++ b/src/spicelib/devices/cktaccept.h @@ -1,6 +1,5 @@ #ifndef _CKTACCEPT_H #define _CKTACCEPT_H -int CKTaccept(CKTcircuit *ckt); #endif diff --git a/src/spicelib/parser/inppas1.h b/src/spicelib/parser/inppas1.h index df0d158e3..0c13ad5e9 100644 --- a/src/spicelib/parser/inppas1.h +++ b/src/spicelib/parser/inppas1.h @@ -3,6 +3,5 @@ #include -void INPpas1(CKTcircuit *ckt, card *deck, INPtables *tab); #endif diff --git a/src/spicelib/parser/inppas2.h b/src/spicelib/parser/inppas2.h index 3e2210452..7140b9779 100644 --- a/src/spicelib/parser/inppas2.h +++ b/src/spicelib/parser/inppas2.h @@ -3,7 +3,6 @@ #include -void INPpas2(CKTcircuit *ckt, card *data, INPtables *tab, TSKtask *task); #endif diff --git a/src/spicelib/parser/inppas3.h b/src/spicelib/parser/inppas3.h index 882d04b36..9ec6e138a 100644 --- a/src/spicelib/parser/inppas3.h +++ b/src/spicelib/parser/inppas3.h @@ -4,8 +4,6 @@ #include -void INPpas3(CKTcircuit *ckt, card *data, INPtables *tab, TSKtask *task, - IFparm *nodeParms, int numNodeParams); #endif