Browse Source

#2/4 #include <ngspice/...> --> #include "ngspice/..."

rlar 14 years ago
parent
commit
4e3cc188d9
  1. 7
      ChangeLog
  2. 2
      src/xspice/cmpp/pp_mod.c
  3. 16
      src/xspice/cmpp/writ_ifs.c

7
ChangeLog

@ -1,3 +1,10 @@
2011-12-11 Robert Larice
* src/xspice/cmpp/pp_mod.c ,
* src/xspice/cmpp/writ_ifs.c :
#2/4 #include <ngspice/...> --> #include "ngspice/..."
printf strings
2011-12-11 Robert Larice
* **/* :
#1/4 #include <ngspice/...> --> #include "ngspice/..."

2
src/xspice/cmpp/pp_mod.c

@ -152,7 +152,7 @@ void preprocess_mod_file (
mod_num_errors = 0;
fprintf (mod_yyout, "#line 1 \"%s\"\n", filename);
fprintf (mod_yyout, "#include <ngspice/cm.h>\n");
fprintf (mod_yyout, "#include \"ngspice/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);

16
src/xspice/cmpp/writ_ifs.c

@ -209,15 +209,15 @@ static void write_includes(
FILE *fp) /* File to write to */
{
fprintf(fp, "\n");
fprintf(fp, "#include <ngspice/ngspice.h>\n");
/* fprintf(fp, "#include <ngspice/prefix.h>\n");*/
fprintf(fp, "#include \"ngspice/ngspice.h\"\n");
/* fprintf(fp, "#include \"ngspice/prefix.h\"\n");*/
fprintf(fp, "#include <stdio.h>\n");
fprintf(fp, "#include <ngspice/devdefs.h>\n");
fprintf(fp, "#include <ngspice/ifsim.h>\n");
fprintf(fp, "#include <ngspice/mifdefs.h>\n");
fprintf(fp, "#include <ngspice/mifproto.h>\n");
fprintf(fp, "#include <ngspice/mifparse.h>\n");
/* fprintf(fp, "#include <ngspice/suffix.h>\n");*/
fprintf(fp, "#include \"ngspice/devdefs.h\"\n");
fprintf(fp, "#include \"ngspice/ifsim.h\"\n");
fprintf(fp, "#include \"ngspice/mifdefs.h\"\n");
fprintf(fp, "#include \"ngspice/mifproto.h\"\n");
fprintf(fp, "#include \"ngspice/mifparse.h\"\n");
/* fprintf(fp, "#include \"ngspice/suffix.h\"\n");*/
fprintf(fp, "\n");
}

Loading…
Cancel
Save