diff --git a/ChangeLog b/ChangeLog index f3c743b22..370991224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/xspice/cmpp/pp_mod.c b/src/xspice/cmpp/pp_mod.c index 2ecd5cd3d..cd83231d5 100755 --- a/src/xspice/cmpp/pp_mod.c +++ b/src/xspice/cmpp/pp_mod.c @@ -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;