initialization of the struct IFdevice.flags element in generated code

This commit is contained in:
rlar 2010-07-05 16:42:48 +00:00
parent d6d7fbde26
commit e26cec467d
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,10 @@
2010-07-05 Robert Larice <Robert.Larice@t-online.de>
2010-07-05 Robert Larice
* src/xspice/cmpp/writ_ifs.c :
add initialization of the struct IFdevice.flags element to the
generated code. We initialize to 0, which is what the C compiler
used as default so far.
2010-07-05 Robert Larice
* src/xspice/icm/analog/d_dt/cfunc.mod ,
* src/xspice/icm/analog/hyst/cfunc.mod ,
* src/xspice/icm/analog/int/cfunc.mod ,

View File

@ -911,6 +911,7 @@ static void write_SPICEdev(
fprintf(fp, " MIFinst_varTable,\n");
else
fprintf(fp, " NULL,\n");
fprintf(fp, " 0, /* flags */\n");
fprintf(fp, " },\n");