Commit Graph

1192 Commits

Author SHA1 Message Date
rlar de35847146 realloc does work, even with NULL argument 2010-10-27 16:40:10 +00:00
rlar 29f34fc734 use tmalloc instead of malloc 2010-10-27 16:36:34 +00:00
rlar cc5b9007a7 use tmalloc and trealloc instead of MALLOC and REALLOC 2010-10-27 16:34:27 +00:00
rlar 5edf18bbc8 bug fix ?, this fix is a mere guesswork, FIXME 2010-10-27 16:30:55 +00:00
rlar 930bf53c3f bug fix, malloced space too small 2010-10-27 16:27:41 +00:00
h_vogt 3ddc20621a guards for strstr 2010-10-25 10:45:55 +00:00
rlar 6e9e8e2e51 trealloc usage unification 2010-10-24 13:32:17 +00:00
rlar 7e8f7d08a7 MALLOC usage unification, (in comments) 2010-10-24 13:29:26 +00:00
rlar 15d12df25b tmalloc usage unification, parenthesize some terms 2010-10-24 13:27:18 +00:00
rlar 11c2ff1720 RALLOC usage unification, drop braces around the second argument 2010-10-24 13:24:02 +00:00
rlar bfc7a4cd7b use char* instead of void* 2010-10-24 13:19:29 +00:00
rlar d6353fb9ee struct member devdep, use void* instead of char* 2010-10-24 13:15:35 +00:00
rlar 32a255f47c tmalloc usage, minor usage unification 2010-10-24 13:06:23 +00:00
rlar 5e8e44cc0a cast the tmalloc, MALLOC, return value 2010-10-24 12:59:20 +00:00
rlar b96989b506 fix incorrect usage of tmalloc/sizeof, incorrect indirection level 2010-10-24 12:56:11 +00:00
rlar bf0b7b4386 qsort() usage, drop cast of the first argument (which is a void *) 2010-10-24 12:53:52 +00:00
rlar 3cc50320e3 rename ALLOC, REALLOC, CALLOC, FREE, in the "src/maths/sparse" domain 2010-10-24 12:51:43 +00:00
rlar 46aeab65a8 ngcomplex_t instead of complex, #2/2 2010-10-24 12:47:48 +00:00
rlar 4622d0876e ngcomplex_t instead of complex, #1/2 2010-10-24 12:45:05 +00:00
h_vogt 3dd27472bc add mktemp.h 2010-10-17 16:04:34 +00:00
h_vogt 6a7c0eb74d prototypes 2010-10-16 22:40:20 +00:00
rlar e2ab67bda0 stronger warning levels, redeclarations, missing prototypes, k&r style ... 2010-10-16 17:55:26 +00:00
rlar 196262dd1b move the com_*() prototypes around. 2010-10-16 17:09:46 +00:00
h_vogt 102420262c error message 'no graphics interface... 2010-10-16 16:05:42 +00:00
rlar c04fd4df28 unconditional visibility of the cider prototypes limit*() 2010-10-16 16:00:58 +00:00
rlar 60caf347a3 remove unused variables 2010-10-16 15:59:37 +00:00
rlar d7a9d71a1a remove prototypes, avoid redeclarations 2010-10-16 15:58:14 +00:00
rlar f49a0e765b collect inp_deckcopy() inp_subcktexpand() in "subckt.h" 2010-10-16 15:56:07 +00:00
rlar 2c975413b7 collect arg_*() prototypes in "arg.h" 2010-10-16 15:54:51 +00:00
rlar 16e8689529 collect vec_get() in "fteext.h" 2010-10-16 15:53:33 +00:00
rlar e71ca2c2b7 collect plot_cur in "fteext.h" 2010-10-16 15:52:19 +00:00
rlar 894dcead35 collect if_inpdeck() if_run() if_cktfree() if_dump() if_option() in "spiceif.h" 2010-10-16 15:50:32 +00:00
rlar a9ca8d7331 collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h" 2010-10-16 15:48:39 +00:00
rlar b22f75c9f4 collect hcomp() in "hcomp.h" 2010-10-16 15:47:16 +00:00
rlar 320258dbd2 collect internalerror() in "fteext.h" 2010-10-16 15:45:53 +00:00
rlar ed73405d0f collect ft_nutmeg() in "fteext.h" 2010-10-16 15:44:23 +00:00
rlar d0b7dae2e8 remove local prototypes, which are already included 2010-10-16 15:42:51 +00:00
rlar fe2a308698 remove prototypes, avoid redeclarations 2010-10-16 15:40:48 +00:00
h_vogt 07fd5f5cac new command wrs2p 2010-10-16 12:06:29 +00:00
h_vogt afdf6ee134 new command wrs2p 2010-10-16 12:05:09 +00:00
h_vogt 32c134f481 #include "../misc/tilde.h" 2010-10-15 21:04:44 +00:00
rlar 7f8ee8818e collect BMin BMax ExpLim Accuracy in "accuracy.h", kill `Acc' 2010-10-15 19:24:52 +00:00
rlar de10506199 cmpp shall add a function prototype to the generated "cfunc.c" file 2010-10-15 18:59:07 +00:00
rlar 4a70e758c4 visibility for the NDEVacct() prototype 2010-10-15 18:57:44 +00:00
rlar 1a3be07881 remove obsolete artifact XtDispatchEvent() (dummy implementation) 2010-10-15 18:56:33 +00:00
rlar e3cdd8ee4d visibility for the printVoltages() prototype 2010-10-15 18:55:13 +00:00
rlar 59e223c5e4 disable dangling artifact 2010-10-15 18:53:58 +00:00
rlar 484f678f5c add local prototype for add_device() 2010-10-15 18:52:37 +00:00
rlar 7f7504f30a collect prototype for ifs_yyerror() in "ifs_yacc_y.h", and fix return type 2010-10-15 18:49:12 +00:00
rlar 1c2bae2c48 collect prototype for mod_yyerror() in "mod_yacc_y.h", and fix return type 2010-10-15 18:47:20 +00:00
rlar bdd308ede7 visibility for tildexpand() prototyp 2010-10-15 18:45:50 +00:00
rlar 3c3b31fa60 declare some functions `static' 2010-10-15 18:43:52 +00:00
rlar ce014b3eb5 add prototypes for some functions --> "cmproto.h" 2010-10-15 18:38:00 +00:00
rlar 47d271d0c0 declare udn_int_ and udn_real_functions `static' 2010-10-15 18:36:28 +00:00
rlar b897dfa857 collect extern timebegin in "misc_time.h" 2010-10-15 18:32:57 +00:00
rlar 2540531c38 remove local prototypes, which are allready included 2010-10-15 18:31:20 +00:00
rlar 47472b867b prototypes, make use of "cidersupt.h" 2010-10-15 18:29:10 +00:00
rlar ccfef4110d collect extern JMP_BUF jbuf in "frontend/signal_handler.h" 2010-10-15 18:27:25 +00:00
rlar 92a4a2cda4 avoid redeclaration, signalhandler 2010-10-15 18:25:30 +00:00
rlar a10759a699 remove static fftext() from "com_fft.h" 2010-10-15 18:24:10 +00:00
rlar a1e09cdcd1 collect free_pnode_o() in "parse.h" 2010-10-15 18:22:39 +00:00
rlar 7db0ed44ee collect NewGraph() FindGraph() CopyGraph() RemoveWindow() in "ftedbgra.h" 2010-10-15 18:20:56 +00:00
rlar 513c1d50a6 collect datestring() and seconds() in "misc_time.h" 2010-10-15 18:15:29 +00:00
rlar 8209c0aef3 collect smktemp() in "mktemp.h" 2010-10-15 18:11:11 +00:00
dwarning bd985bc28f trtol to 1 only for A devices 2010-10-14 09:18:48 +00:00
rlar 2de6345a5e revert, remove typedef for _complex, which is used nowhere 2010-10-09 18:46:27 +00:00
rlar 80b2f2b164 update the bison generated files 2010-10-09 14:38:43 +00:00
rlar 0fb5f2142a avoid function redeclaration, PPparse() and PTparse() 2010-10-09 14:28:28 +00:00
rlar 882b3b4155 add `PT_OP_' prefix to avoid name collision (END, PLUS, MINUS, ...) 2010-10-09 14:26:41 +00:00
rlar 1d62b41bfa collect cp_* prototypes / extern-declarations in "cpextern.h" 2010-10-09 12:49:34 +00:00
rlar fda6aafc9f additional #includes for prototype visibility 2010-10-09 12:46:42 +00:00
rlar 65ef4f037a collect MESH*() prototypes in "meshext.h" 2010-10-09 12:44:31 +00:00
rlar a1b178c3f0 include bsim4*def.h (bsim4*geo.c files) 2010-10-09 12:41:05 +00:00
rlar 34e1037396 BSIM*Geo() prototypes --> include files 2010-10-09 12:39:21 +00:00
rlar 5bc8777a9b remove #define for EOS use '\0' instead 2010-10-09 11:42:10 +00:00
rlar cf3514b9ae remove ancient #defines for AND OR NOT substitute with && || ! 2010-10-09 11:40:00 +00:00
rlar 526a3fce6c remove obsolete #defines for BEGIN END LENGTH FORWARD 2010-10-09 11:35:17 +00:00
rlar 31a8c98462 remove obsolete #defines for MAXARITY NUM STRING PNODE 2010-10-09 11:33:57 +00:00
rlar 306cf43d79 remove typedef for _complex, which is used nowhere 2010-10-09 11:32:21 +00:00
rlar e945ab68bc collect some cx_*() prototypes in "cmath2.h" 2010-10-08 18:59:41 +00:00
rlar 8a7b507f84 remove winmessage() prototype, there is no such thing (hopefully) 2010-10-08 18:56:32 +00:00
rlar 28282dda56 collect the other INP*() prototypes in "inpdefs.h" 2010-10-08 18:54:06 +00:00
rlar d0c287f81f collect the INP2?() prototypes in "inp.h" 2010-10-08 18:51:55 +00:00
rlar 9b0df330b5 collect the PT*() prototypes in "inp.h" 2010-10-08 18:49:19 +00:00
rlar 9e75489e9f consider the op_*() functions to be less public 2010-10-08 18:46:38 +00:00
rlar fa156de8dd avoid function redeclaration (devices) 2010-10-08 18:44:15 +00:00
rlar 8382aceba3 sens_getp() prototype --> include file 2010-10-08 18:31:32 +00:00
rlar 746c9d1212 static function definition 2010-10-08 18:20:39 +00:00
rlar 1b1a3ef185 #ifdef include file wrapper 2010-10-08 18:18:52 +00:00
rlar 44e244dde8 NevalSrc() NevalSrc2() Nintegrate() prototypes --> include files 2010-10-08 18:17:24 +00:00
rlar b5f1a18f7c ngspice_compat_mode() prototype --> include files 2010-10-08 18:15:04 +00:00
rlar 63d3f113ff TanDeriv() prototype --> include files 2010-10-08 18:13:23 +00:00
rlar 101f6d5f4a str_to_lower() init_error() protoypes --> include files 2010-10-08 18:11:48 +00:00
rlar ef26170d5a DkerProc() CKTdisto() prototypes --> include files 2010-10-08 18:09:02 +00:00
rlar 3d9a742802 remove some stuttered prototypes 2010-10-08 18:07:03 +00:00
rlar 4d31d2a12f some .c file local prototypes 2010-10-08 18:05:00 +00:00
rlar 36b9d794df cx_avg() prototype 2010-10-08 18:02:58 +00:00
rlar cef8a530af com_dotmeasure() prototype 2010-10-08 18:01:40 +00:00
rlar ddd6d5911c EVTfindvec() prototyp 2010-10-08 18:00:11 +00:00
rlar 8db45f4205 CKTdnames() prototype 2010-10-08 17:58:34 +00:00
rlar 9cb57888d5 too much quoting caused an error for quoted things in CFLAGS 2010-10-08 17:18:55 +00:00
rlar 933bd11c43 use the type JOB, remove redundant casts 2010-10-08 16:49:18 +00:00
rlar d49b1d7d0b use the type JOB, remove redundant casts 2010-10-08 16:49:18 +00:00
rlar 74d62ab486 use the types TSKtask and JOB, instead of void 2010-10-08 16:46:06 +00:00
rlar 7047535f96 type bistromatic 2010-10-08 16:41:13 +00:00
rlar bffcbad0e7 remove a redundant cast 2010-10-08 16:34:35 +00:00
rlar 04dea78e58 fix an incorrect prototype 2010-10-08 16:32:36 +00:00
rlar d51c1e1b7d fix a compiler warning, void* versus void(*)(void) 2010-10-08 16:30:07 +00:00
h_vogt 3b823f1179 *** empty log message *** 2010-10-07 21:47:34 +00:00
h_vogt e45aff5549 b. added to i(b.xxx.byyy) 2010-10-07 21:43:40 +00:00
dwarning 0d2b618f31 modification for sun compiler 2010-10-06 20:06:05 +00:00
h_vogt 28622b5a75 remove bug no. 3080398 2010-10-04 20:58:00 +00:00
h_vogt 7c7ff52262 no pmf, DBL_MAX 2010-10-02 18:44:50 +00:00
h_vogt 0a1a142023 NAN in parameter output removed 2010-10-02 10:14:55 +00:00
rlar 83d1de00fe bugfix, missing return(OK) in some switch statements 2010-10-01 18:06:40 +00:00
rlar 1149ad86c4 use autoconf to find a suitable signal function type 2010-09-30 20:26:57 +00:00
rlar 61f4fffdac use $(MAKE) instead of literal `make' 2010-09-30 20:24:07 +00:00
rlar 7816052481 bug fix, ./configure && make dist was broken, hardwire flex 2010-09-30 20:21:57 +00:00
h_vogt f127c5cfb2 entry m4 removed 2010-09-26 15:43:52 +00:00
h_vogt c733b76996 version 22 2010-09-25 16:50:08 +00:00
h_vogt 92462a124a version 22 2010-09-25 16:37:08 +00:00
h_vogt b5d6221d99 version 22 2010-09-25 16:29:28 +00:00
h_vogt d5d802ce35 version 22 2010-09-25 15:12:12 +00:00
h_vogt fa834f20bb update version 22 2010-09-25 15:07:23 +00:00
h_vogt 7fd724c060 new Monte Carlo example folder 2010-09-25 14:57:24 +00:00
h_vogt 5a9f70eb8c update version 22 2010-09-25 14:43:48 +00:00
h_vogt 683d57c271 update to 22 2010-09-25 14:34:58 +00:00
h_vogt 8db3c17bc0 welcome message, version 22 2010-09-25 14:15:26 +00:00
rlar 382c1a28fe add m4/ and compile_min.sh to the tarball 2010-09-23 18:50:01 +00:00
dwarning 921fad758d initialize some variables 2010-09-22 13:58:00 +00:00
rlar eb524b6f68 aautogen.sh, change a `sed' expression to be more defensive 2010-09-21 17:40:57 +00:00
dwarning f951f3b5de update to version 2.24 2010-09-19 20:20:30 +00:00
rlar f025c7a602 autogen.sh, cleanup 2010-09-19 18:27:16 +00:00
rlar 8f8071aceb fix some ancient \n\r and \r\n typos 2010-09-19 16:30:39 +00:00
rlar d76862055e cp_unqoute(), avoid segfault when applied to a single quote "\"" 2010-09-19 14:09:12 +00:00
h_vogt 83da42e3bf script to compiling MINGW 2010-09-19 12:51:35 +00:00
h_vogt a77275133a allow lib64 in spinit 2010-09-19 08:25:46 +00:00
h_vogt 97085752a4 external LDFLAGS for MINGW 2010-09-18 16:58:31 +00:00
rlar 2d7437a45a some scripts need bash 2010-09-18 09:12:59 +00:00
dwarning 3fda41f3e4 no message 2010-09-18 09:03:41 +00:00
h_vogt 8d68684174 configurations Release, Debug, ReleaseOMP 2010-09-17 21:44:41 +00:00
rlar eb3b02a6d7 undo "use a subdirectory `config' for autoconfigure ..." from today 2010-09-17 19:18:26 +00:00
rlar 24f55df1ae fix parse-bison.y dependencies 2010-09-17 16:41:10 +00:00
rlar ef121c3509 run aclocal first, then libtoolize 2010-09-17 16:26:06 +00:00
rlar 001ad0c2bc `make dist' add some missing artifacts 2010-09-17 16:24:01 +00:00
rlar c1647ed1a1 `make dist' improvements for `NDEV' 2010-09-17 16:21:12 +00:00
rlar 8567157934 use a subdirectory `config' for autoconfigure related artifacts 2010-09-17 16:17:13 +00:00
rlar 68b2e6b23a whitespace cleanup (all Makefile.am files) 2010-09-17 16:11:25 +00:00
h_vogt ed625c5509 update 2010-09-15 22:00:04 +00:00
h_vogt 590bf0a677 meas ac: remove seg fault 2010-09-15 21:54:46 +00:00
rlar d936068864 fix incorrect buffer type, and exit(1) on failure to open a tempfile 2010-09-12 17:29:43 +00:00
h_vogt 355384e459 libiberty.h inclusion modified 2010-09-10 15:06:04 +00:00
rlar cd197da4e5 fix commit from today, `function rename, Arc() -> DevDrawArc()` 2010-09-08 20:14:04 +00:00
rlar 5e64936a3f rename include file wrapper, #ifndef CONST -> CONST_H 2010-09-08 18:23:35 +00:00
rlar af4589529d function rename, struct DISPDEVICE . Text() -> DrawText() 2010-09-08 18:11:26 +00:00
rlar 4f915cb283 function rename, struct DISPDEVICE . Arc() -> DrawArc() 2010-09-08 18:09:30 +00:00
rlar 76d22c3691 function rename, Update() -> DevUpdate() 2010-09-08 18:06:51 +00:00
rlar 38abf408d5 function rename, DrawLine() -> DevDrawLine() 2010-09-08 18:03:40 +00:00
rlar 1693270d35 function rename, Text() -> DevDrawText() 2010-09-08 18:01:42 +00:00
rlar 984754de75 function rename, Arc() -> DevDrawArc() 2010-09-08 17:59:00 +00:00
rlar 2010672489 rename configure.in -> configure.ac 2010-09-08 17:14:44 +00:00
h_vogt 606b974c7d prepare for ngspice 22 2010-09-08 13:42:23 +00:00
rlar f7c8eb1d2a muffle some visual-C warnings 2010-09-07 20:23:07 +00:00
rlar d4946a6e81 convert K&R function definitions to ansi style 2010-09-07 20:11:13 +00:00
rlar 59e775c497 convert K&R function definitions to ansi style 2010-09-07 20:11:13 +00:00
rlar 241783d0b5 use for(;;) instead of while(1) to muffle some visual-C warnings 2010-09-07 20:07:57 +00:00
rlar b1f6da536a whitespace cleanup, add missing trailing newlines 2010-09-07 19:04:20 +00:00
rlar e20e18b855 whitespace cleanup, \r\n -> \n 2010-09-07 18:57:22 +00:00
h_vogt 4f45e4aa7f remove seg fault 2010-09-07 17:51:03 +00:00
h_vogt 113f4ca13d plot [alli | allv | ally] 2010-09-07 08:52:21 +00:00
dwarning e4e304483d no message 2010-09-04 12:41:25 +00:00
h_vogt d89d52039f bug in B source parsing removed 2010-09-03 12:51:42 +00:00
h_vogt d4fc5581d2 comments improved 2010-09-02 16:14:34 +00:00
h_vogt 453b565f71 improve random number generation 2010-09-01 21:13:01 +00:00
dwarning a4d4e91ab4 no message 2010-08-29 09:24:38 +00:00
h_vogt ba539d9ef1 new fcn sgauss(), new rnd-no generator 2010-08-28 18:13:08 +00:00
h_vogt fc2df06f9b bug no. 3047884 2010-08-19 19:48:00 +00:00
h_vogt 9f503c6c3f test for awk 2010-08-18 18:08:11 +00:00
h_vogt 5b04fa5d37 TCLCYG, adms update 2010-08-18 17:13:26 +00:00
dwarning c80957fc10 no message 2010-08-17 07:38:08 +00:00
h_vogt a7864c8f61 update on --adms 2010-08-15 20:17:05 +00:00
rlar 50ad9c548e chomp some warnings 2010-08-15 18:26:56 +00:00
rlar 73a80756d4 typedefs for JOB and TSKtask into "typedefs.h" 2010-08-15 17:54:33 +00:00
rlar e1a5526381 use the type CKTnode instead of void* 2010-08-15 17:44:40 +00:00
rlar bfa767fd7c change for readability 2010-08-15 17:28:01 +00:00
rlar 7f3fdad192 change for readability 2010-08-15 17:22:50 +00:00
rlar 99b2f9febf drop (GENinstance*) casts, which are no longer necessary 2010-08-15 17:19:39 +00:00
rlar 5c59267768 check for shorted voltage sources, to avoid a segmentation fault 2010-08-15 17:16:51 +00:00
rlar bfc6636b61 fix txfree() prototype 2010-08-15 17:13:17 +00:00
h_vogt d8f112d862 see ChangeLog 2010-08-14 08:34:49 +00:00
rlar 44a182c1ba use the type CKTnode instead of void* 2010-08-11 18:54:31 +00:00
rlar 773670b38f cleanup 2010-08-11 16:15:24 +00:00
rlar d897817800 drop a bunch of (void**) NULL casts {invocation of IFnewUid()} 2010-08-10 19:54:41 +00:00
rlar 085afaee37 use GENinstance*, instead of void* 2010-08-10 19:11:26 +00:00
rlar 6713cb5e00 fix comment 2010-08-10 18:42:59 +00:00
rlar 3340f46e80 missing `extern' 2010-08-10 18:16:04 +00:00
rlar aae53f5564 use GENinstance*, instead of void* 2010-08-10 18:14:02 +00:00
rlar 9e07ef2d67 use GENmodel*, instead of void* 2010-08-10 18:11:21 +00:00
rlar 547a8fc7f5 drop (SMPmatrix*) casts 2010-08-10 18:07:13 +00:00
rlar 307b0f9142 drop (GENinstance*) casts 2010-08-10 18:04:48 +00:00
rlar 91a9eb5a10 drop (INPtables*) casts 2010-08-10 18:02:26 +00:00
rlar aa11b7b84f drop (GENmodel*) casts 2010-08-10 17:59:49 +00:00
rlar a8c64094fc fix busy waiting loop, when using editline 2010-08-09 18:36:57 +00:00
rlar 8babf0ff44 bug fix, incorrect indirection level, yet without consequence 2010-08-09 18:26:51 +00:00
rlar 618732c7bd fix assignment to a member of union IFvalue 2010-08-09 18:16:02 +00:00
rlar 74f7a4f908 bug fix, avoid segfault when parsing an unknown function in parse-bison.y 2010-08-07 18:52:27 +00:00
dwarning b7df40c2b6 no message 2010-08-07 17:01:14 +00:00
rlar 02e4a4f32b bug fix, segfault caused by an ancient `editline' workaround 2010-08-07 10:24:58 +00:00
rlar 0d1661658d fix broken tclspice compilation 2010-08-07 09:49:43 +00:00
rlar a27a242216 use -Wno-unused-parameter, and add missing $(EXEEXT) to Makefile.am 2010-08-07 09:35:23 +00:00
dwarning e3c7353eed no message 2010-08-06 07:51:14 +00:00
rlar 8dd05de4ca bug fix, segfaults and sickness caused by `plot' 2010-08-04 16:03:23 +00:00
rlar eaef9ffd7a implement Arc() for plot5 and hpgl (smith diagram) 2010-08-02 16:31:35 +00:00
h_vogt 1657b33535 update: remove goto 2010-08-01 19:02:23 +00:00
rlar 2fcbcc5f48 bug fix, implementation of the X11 draw arc implementation. 2010-08-01 13:47:33 +00:00
h_vogt b82ef13db7 update for adms 2010-08-01 10:28:18 +00:00
rlar 010e046e6b work around a segmentation fault, plot .. vs vec 2010-07-31 17:04:37 +00:00
rlar d60bee2d40 fix an ancient bug, garbage and segfaults when plotting multidimensional complex data 2010-07-31 16:47:15 +00:00
rlar c6bac55ef3 fix an ancient typo, responsible for segfault or garbage when operating on vectors 2010-07-30 19:44:11 +00:00
rlar 32e128d1a0 need an #ifdef for one of the just added #includes 2010-07-30 19:17:20 +00:00
rlar 8ff62fd262 add #include's for visibility of prototypes to their function definitions
move some typedefs to "typedef.h"
2010-07-30 16:09:38 +00:00
rlar 73890e3cdb remove some #ifdef __STDC__ wrappers, and some stray '#' 2010-07-30 15:38:27 +00:00
rlar 618c5961ad fix some literal floating point constants, which should have been integers 2010-07-30 15:30:10 +00:00
h_vogt f7da0b9f00 update inp_cmpat() 2010-07-25 09:21:33 +00:00
rlar b31aef0557 find a suitable home for **DEVices and DEVmaxnum in devdefs.h 2010-07-24 21:16:50 +00:00
rlar 60ff9aaef2 muffle `nested extern' warnings, and drop a handcrafted malloc prototype 2010-07-24 20:24:26 +00:00
rlar 4cdd842cd8 muffle compiler warnings 2010-07-24 18:51:06 +00:00
rlar d0a7220f6f muffle `unused variable' warnings 2010-07-24 18:24:43 +00:00
rlar fe696310d6 muffle `may be used uninitialized' warnings 2010-07-24 18:16:56 +00:00
rlar 1d6b744b1c remove static char rcsid[] = "$Id$" to muffle `unused variable' warnings 2010-07-24 18:07:30 +00:00
rlar 689c7662f8 K&R function definitions and GENmodel and GENinstance usage for the NDEV device 2010-07-24 17:40:26 +00:00
rlar 62afa50a1c fix dangerous things, potential bugs, at least for big endian machines 2010-07-24 14:27:47 +00:00
rlar e95eb0d4aa add two #include files,
to fix broken cider compilation, caused by the changes from 2010-07-23
2010-07-24 13:44:25 +00:00
rlar d074de41f2 fix the type signature of the cx_* functions 2010-07-24 12:37:41 +00:00
rlar 92353ab6d5 better place for the prototype of spConstMult() 2010-07-23 20:09:50 +00:00
rlar 9da90f5329 use the type SMPmatrix instead of char *
remove some redundant forward function declarations
remove some redundant nested function declarations
2010-07-23 18:50:50 +00:00
rlar f4d0163885 use the types MatrixPtr and SMPmatrix instead of void and char *
both are the same thing,
     MatrixPtr is used inside the sparse/* domain,
     SMPmatrix is used in the rest of spice
  remove casts, which are no longer necessary
2010-07-23 17:33:10 +00:00
rlar 1ee29c3e96 use a void* instead of a char* for anonymous `InitInfo' in src/sparse/*.c 2010-07-23 17:23:13 +00:00
rlar 3e95037b0e convert K&R function definitions to ansi style 2010-07-23 17:16:27 +00:00
rlar 73cf2a8ea5 use a void * for the third argument (&value) of the cp_vset() function 2010-07-20 19:19:51 +00:00
rlar 3942bc2ade drop #include <frontend/variable.h>, (even for non MSC_VER) 2010-07-20 19:10:51 +00:00
rlar a49d446826 fix an incorrect type, (&char versus &bool) 2010-07-20 19:06:25 +00:00
rlar 8851f67efd Change remaining code to use the new usage pattern cp_getvar(,CP_BOOL,NULL) 2010-07-20 18:52:19 +00:00
rlar d44f818cad allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage 2010-07-20 18:41:25 +00:00
h_vogt 9afba3083c correct typing error 2010-07-19 19:39:31 +00:00
rlar 2990821053 use type void* to pass anonymous data to function if_option()
indicate its actual type with an enum cp_types argument
2010-07-17 22:11:51 +00:00
rlar 61bba96f42 textual replacement vt_types to cp_types, to complete the last change 2010-07-17 20:56:12 +00:00
rlar a76cd1e104 textual replacement VT_* to CP_*, to avoid conflict in the windows world 2010-07-17 20:48:20 +00:00
rlar 0aa1c09d73 consolidate enum cp_types and enum vt_types .
use this enum for some function arguments and struct members .
  drop some include "variable.h" which are no longer needed ,
    propably many more could be droped .
  drop #define VT_* which have been used as workaround for the type mess .
2010-07-17 15:14:45 +00:00
h_vogt 5cbb4d2c67 update changelog, number of types 2010-07-17 10:25:52 +00:00
rlar 4910f5046e `const' qualifier for char* arguments of vec_get() and ft_substdef() {add ChangeLog} 2010-07-16 17:07:41 +00:00
rlar ff459393d0 `const' qualifier for char* arguments of vec_get() and ft_substdef() 2010-07-16 17:00:45 +00:00
rlar a0a7d0ca70 xspice, xtraevt/*real*, add casts to `INPUT' and `OUTPUT'
the *.ifs files specify this to be `real'
  yet the *.mod translator seems to be incomplete, and delivers void *
2010-07-16 15:47:05 +00:00
rlar ba91a6074a add a missing `const' qualifier 2010-07-16 15:42:46 +00:00
rlar 1915f964dc xspice, digital/d_fdiv, fix the type of counter and counter_old
from Digital_State_t to int
2010-07-16 15:38:27 +00:00
rlar 84a69a3896 xspice, flip-flops and ram, cast the `ic' PARAM to Digitial_State_t
the *.ifs file claims this parameter to be an integer in range 0..2
  meant to represent ZERO, ONE and UNKNOWN
2010-07-16 15:33:25 +00:00
rlar 26412f883e xspice, cast so called `STATIC_VAR' pointers to their concrete type 2010-07-16 15:26:05 +00:00
rlar e1a86fad43 remove leftover /*FALSE,*/ comments from the last commit
which where left for the single purpose of better visualization in a diff tool.
2010-07-14 15:52:44 +00:00
rlar cab9417c9a eliminate co_stringargs, which is used nowhere 2010-07-14 15:43:50 +00:00
rlar 0772afc517 fix the argument types of the functions printstr_n printstr_m bogus1 and bogus2 2010-07-13 18:20:37 +00:00
rlar 5397fd9fdd split the function printstr() into printstr_n() and printstr_m() 2010-07-13 18:17:06 +00:00
rlar 922d5c69ac fix the type of the function pointer argument of wl_forall() 2010-07-13 18:10:57 +00:00
rlar 4102c27164 fix function pointer initialization 2010-07-11 20:18:47 +00:00
rlar 62c6626254 add casts for void* returning functions 2010-07-11 19:34:15 +00:00
rlar a44cc3dd7e for c++, lex input() function is named yyinput() 2010-07-11 19:22:36 +00:00
rlar 1bb9d1c633 missing (void*) casts 2010-07-11 19:15:26 +00:00
rlar 460f7a6485 fix type and usage of some function pointers 2010-07-11 18:10:08 +00:00
rlar a19f5dc9ac fix some function pointer casts 2010-07-11 18:03:49 +00:00
rlar fd7ef635a2 missing casts 2010-07-11 16:04:27 +00:00
rlar f7f4a7dd91 tiny, fix two casts 2010-07-11 16:02:23 +00:00
rlar cc1cdbeeac dont compare with '\0' when NULL was meant 2010-07-11 12:33:54 +00:00
rlar a23c482c23 #include "vccsext.h" to make the function declarations visible to their function definitions 2010-07-11 11:02:42 +00:00
rlar 98ae3c949f cast the udn*() function args 2010-07-11 10:59:03 +00:00
rlar a0b0f550ab ansi style function args for a function pointer arg of spInitialize() 2010-07-10 14:06:14 +00:00
h_vogt e07486df2a patch B. Swartz 2010-07-04 2010-07-10 13:22:44 +00:00
rlar 3600f91ab0 drop some malloc prototypes, use <stdlib.h> 2010-07-10 12:48:56 +00:00
rlar 26f2d23e6c cleanups 2010-07-10 12:37:49 +00:00
rlar c2ca9a7998 drop -1, extend enum Mif_Cntl_Src_Type_t 2010-07-10 12:23:33 +00:00
h_vogt 94f3120cae .probe 2010-07-10 12:12:08 +00:00
h_vogt fe2d079b31 par('expression') 2010-07-10 11:27:57 +00:00
rlar 7d6abb2fde upgrade some casts from void* to more specific type 2010-07-09 19:03:02 +00:00
rlar d7e2e7f7f0 cast malloc... return values 2010-07-09 16:53:34 +00:00
rlar eb6e3e9827 fix some casts 2010-07-08 18:27:17 +00:00
rlar 805f60448a INPtables, remove some casts 2010-07-08 17:50:29 +00:00
rlar 63fae60605 use the GENmodel and GENinstance type instead of void* 2010-07-08 17:20:03 +00:00
rlar c9bfe72187 use CKTcircuit instead of void*, #4/4 2010-07-07 17:36:56 +00:00
rlar 94518fdb02 use CKTcircuit instead of void*, #3/4 2010-07-07 17:32:40 +00:00
rlar fe68605770 use CKTcircuit instead of void*, #2/4 2010-07-07 17:28:29 +00:00
rlar 72fc1a0186 use CKTcircuit instead of void*, #1/4 2010-07-07 17:26:05 +00:00
rlar 12dc45118b ansi function declarations (prototypes) for some functions 2010-07-06 19:06:50 +00:00
rlar d6ad853ecb fix the type signature of the if_*() function family. 2010-07-06 19:03:40 +00:00
rlar a57a381ea7 new include file "typedefs.h" for struct forward declarations 2010-07-06 18:58:15 +00:00
h_vogt be99864a86 debug warnings removed 2010-07-06 13:52:52 +00:00
h_vogt 46e5436aa8 sighandler_t not under Wondows, spetrum script updated 2010-07-06 12:24:08 +00:00
rlar e26cec467d initialization of the struct IFdevice.flags element in generated code 2010-07-05 16:42:48 +00:00
rlar d6d7fbde26 cast the return values of the void* returning functions 2010-07-05 16:16:56 +00:00
rlar 59d4e5d961 fix various type glitches 2010-07-04 17:54:22 +00:00
rlar 2744462d01 void *AllocatedPtr 2010-07-04 17:41:17 +00:00
rlar 5444f878d0 fix signal prototypes 2010-07-04 17:37:39 +00:00
rlar c30028310b ansi style function args for some function pointers 2010-07-03 21:27:53 +00:00