cmpp shall add a function prototype to the generated "cfunc.c" file
This commit is contained in:
parent
4a70e758c4
commit
de10506199
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue