cmpp shall add a function prototype to the generated "cfunc.c" file

This commit is contained in:
rlar 2010-10-15 18:59:07 +00:00
parent 4a70e758c4
commit de10506199
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-10-15 Robert Larice
* src/xspice/cmpp/pp_mod.c :
cmpp shall add a function prototype to the generated "cfunc.c" file
2010-10-15 Robert Larice
* src/ngnutmeg.c :
visibility for the NDEVacct() prototype

View File

@ -153,6 +153,8 @@ void preprocess_mod_file (
fprintf (mod_yyout, "#line 1 \"%s\"\n", filename);
fprintf (mod_yyout, "#include \"cm.h\"\n");
fprintf (mod_yyout, "extern void %s(Mif_Private_t *);\n",
ifs_table.name.c_fcn_name);
fprintf (mod_yyout, "#line 1 \"%s\"\n", filename);
mod_yylineno = 1;