Index: import_net_cmd.c =================================================================== --- import_net_cmd.c (revision 30954) +++ import_net_cmd.c (revision 30955) @@ -55,7 +55,7 @@ PCB_IMPORT_SCH_VERBOSE(verbose); if (numfns != 2) { - rnd_message(PCB_MSG_ERROR, "net_cmd_import: requires exactly two arguments:\nfirst argument must be the output file name or -\nsecond argument must be a full command line\n"); + rnd_message(RND_MSG_ERROR, "net_cmd_import: requires exactly two arguments:\nfirst argument must be the output file name or -\nsecond argument must be a full command line\n"); return -1; } @@ -63,7 +63,7 @@ cmdline = fns[1]; if ((outfn == NULL) || (*outfn == '\0')) { - rnd_message(PCB_MSG_ERROR, "net_cmd_import: Could not create temp file for the netlist output"); + rnd_message(RND_MSG_ERROR, "net_cmd_import: Could not create temp file for the netlist output"); return -1; } if ((outfn[0] == '-') && (outfn[1] == '\0')) { @@ -72,7 +72,7 @@ } if (verbose) - rnd_message(PCB_MSG_DEBUG, "import_net_cmd: running cmd: '%s' outfn='%s'\n", cmdline, outfn); + rnd_message(RND_MSG_DEBUG, "import_net_cmd: running cmd: '%s' outfn='%s'\n", cmdline, outfn); rnd_setenv("IMPORT_NET_CMD_PCB", PCB->hidlib.filename, 1); rnd_setenv("IMPORT_NET_CMD_OUT", outfn, 1); @@ -79,7 +79,7 @@ res = pcb_system(&PCB->hidlib, cmdline); if (res == 0) { if (verbose) - rnd_message(PCB_MSG_DEBUG, "pcb_net_cmd: about to run pcb_act_ExecuteFile, outfn='%s'\n", outfn); + rnd_message(RND_MSG_DEBUG, "pcb_net_cmd: about to run pcb_act_ExecuteFile, outfn='%s'\n", outfn); pcb_import_netlist(&PCB->hidlib, outfn); } if (tmpfn != NULL)