Commit Graph

768 Commits

Author SHA1 Message Date
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
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 e0110f319d OpenMP for B4SOI version 4.3.1 2010-07-02 09:44:17 +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 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 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