Commit Graph

1459 Commits

Author SHA1 Message Date
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 e923354206 fix some wrong 'double' to 'int' assignments 2010-08-07 17:00:54 +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 586acbe45c fallback for not handled enumeration values in switch 2010-08-06 07:50:20 +00:00
dwarning 2991e1a5b9 add prototype for controlled_exit 2010-08-06 07:49: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
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 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
h_vogt e23fae5376 correct update 2010-07-14 21:15:56 +00:00
h_vogt 79831ac331 'option' command 2010-07-14 20:59:23 +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 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 8496ba3f91 comments added 2010-07-06 14:04:48 +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
rlar 463ef4a3b1 convert K&R function definitions to ansi style 2010-07-03 20:37:00 +00:00
rlar d19476685a tiny fixes 2010-07-03 17:55:44 +00:00
rlar 68c0ee9cd3 whitespace change, cleanup, untabify 2010-07-03 15:36:05 +00:00
rlar a321d7f419 forward declaration of structs, unions and typedefs 2010-07-03 15:33:23 +00:00
rlar 70420197e6 ansi style function args for some function pointers 2010-07-02 17:00:21 +00:00
h_vogt 39c98ad798 OpenMP for B4SOI version 4.3.1 2010-07-02 09:35:05 +00:00
h_vogt e3b0a4b0dd .TITLE line 2010-07-02 07:34:18 +00:00
h_vogt 9f84139ffa no white space removal in echo ' ' 2010-07-01 20:42:20 +00:00
h_vogt 2edf6bafd2 no white space removal in echo ' ' 2010-07-01 20:29:53 +00:00
rlar 3369d860b4 cast the return values of malloc() function calls 2010-07-01 19:52:23 +00:00
rlar 0dbebc870c fix some typecasts to *malloc() return values 2010-07-01 17:20:35 +00:00
rlar 643728aca4 explicit compare with NULL 2010-07-01 16:43:28 +00:00
rlar c178bdb059 cosmetical changes 2010-06-30 20:08:57 +00:00
h_vogt 6874c454fc allow {$var} 2010-06-30 19:20:01 +00:00
rlar 779e5a978c ansi prototypes for the function pointers in struct DISPDEVICE 2010-06-30 16:50:09 +00:00
h_vogt 947e19bde7 no command file handling in numparam 2010-06-29 21:18:34 +00:00
h_vogt a62db6942b OpenMP support for BSIM4, slight upgrade of OpenMP for BSIM3 2010-06-28 17:51:55 +00:00
rlar b1151b4934 drop useless cast of a copy() return value 2010-06-27 17:57:30 +00:00
rlar a120a5d049 drop the casts for pointer arguments of bcopy() and bzero() 2010-06-27 17:22:11 +00:00
h_vogt 111d25b0fc short -> int 2010-06-27 16:42:59 +00:00
h_vogt 3a96b98900 short -> int 2010-06-27 16:19:27 +00:00
rlar 6c4e0cb6d0 add two unused arguments to arg_display(), to fit with struct comm.co_argfn 2010-06-27 15:44:53 +00:00
rlar 0000dda9af ansi function declarations (prototypes) 2010-06-27 13:28:09 +00:00
rlar c79d21af82 convert K&R function definitions to ansi style 2010-06-27 09:27:49 +00:00
rlar ad947547a8 ansi function prototypes, and stdlib.h for exit() 2010-06-26 20:22:50 +00:00
rlar 5e35b809ec drop cast of NULL to non-ansi function pointer 2010-06-26 19:58:42 +00:00
rlar be57f10b3b avoid some function pointer warnings 2010-06-26 17:12:56 +00:00
rlar b58722b18b remove redundant nested function declarations 2010-06-25 19:49:13 +00:00
rlar 5b5297ac2f remove abandoned prototypes 2010-06-25 17:23:40 +00:00
rlar 3a6540b584 use allready defined enumerate Digital_State_t and Ipc_Status_t 2010-06-24 19:00:15 +00:00
h_vogt 8b1c9dde7f OpenMP for BSIM3 ver 3.3.0 2010-06-24 10:25:05 +00:00
rlar a14e59866e ansi function declarations (prototypes) 2010-06-23 19:33:54 +00:00
rlar 5946300a97 upgrade foo() --> foo(void) ansi function definition 2010-06-23 18:57:13 +00:00
rlar 4420a3ecdd add prototypes, remove some NULL casts 2010-06-23 17:40:56 +00:00
h_vogt 81dd27a730 Cbg1 assignment 2010-06-22 15:23:15 +00:00
h_vogt 97d0e801f4 dekete reference to MOS levels 60, 61 2010-06-20 07:27:52 +00:00
h_vogt a3a4d4409c .measure skip braces in a special case 2010-06-19 18:50:39 +00:00
h_vogt aab308e863 bug, see support tracker no. 3013968 2010-06-19 18:23:32 +00:00
rlar 1f290ed13e remove junk from tarball, and fix some Makefile.am dependencies 2010-06-19 16:08:07 +00:00