K&R function definitions and GENmodel and GENinstance usage for the NDEV device

This commit is contained in:
rlar
2010-07-24 17:40:26 +00:00
parent 62afa50a1c
commit 689c7662f8
13 changed files with 60 additions and 45 deletions
+17 -1
View File
@@ -1,3 +1,19 @@
2010-07-24 Robert Larice
* src/include/inpdefs.h ,
* src/spicelib/devices/ndev/ndevacld.c ,
* src/spicelib/devices/ndev/ndevask.c ,
* src/spicelib/devices/ndev/ndevdel.c ,
* src/spicelib/devices/ndev/ndevdump.c ,
* src/spicelib/devices/ndev/ndevmdel.c ,
* src/spicelib/devices/ndev/ndevparm.c ,
* src/spicelib/devices/ndev/ndevpzld.c ,
* src/spicelib/devices/ndev/ndevset.c ,
* src/spicelib/devices/ndev/ndevtemp.c ,
* src/spicelib/devices/ndev/ndevtrun.c ,
* src/spicelib/parser/inp2n.c :
convert K&R function definitions to ansi style
use the GENmodel and GENinstance type instead of void*
2010-07-24 Robert Larice
fix dangerous things, potential bugs, at least for big endian machines
* src/frontend/inp.c ,
@@ -6,7 +22,7 @@
should fail on a big endian machine
* src/frontend/spiceif.c ,
the value of an union, made of a bool (unsigned char), an int, etc,
is silently cast into an int.
is silently cast into an int.
This can introduce stack noise, in the CP_BOOL case
* src/frontend/variable.c :
a `variable' is created with type CP_NUM,