mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-28 16:54:20 +02:00
cmpp shall add a function prototype to the generated "cfunc.c" file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user