Index: draw_ps.h =================================================================== --- draw_ps.h (revision 36235) +++ draw_ps.h (revision 36236) @@ -4,8 +4,8 @@ void rnd_ps_init(rnd_ps_t *pctx, FILE *f); -void ps_start_file(rnd_ps_t *pctx, const char *swver); -void ps_end_file(rnd_ps_t *pctx); +void rnd_ps_start_file(rnd_ps_t *pctx, const char *swver); +void rnd_ps_end_file(rnd_ps_t *pctx); void rnd_ps_draw_rect(rnd_ps_t *pctx, rnd_hid_gc_t gc, rnd_coord_t x1, rnd_coord_t y1, rnd_coord_t x2, rnd_coord_t y2); Index: ps.c =================================================================== --- ps.c (revision 36235) +++ ps.c (revision 36236) @@ -372,7 +372,7 @@ return b - a; } -void ps_start_file(rnd_ps_t *pctx, const char *swver) +void rnd_ps_start_file(rnd_ps_t *pctx, const char *swver) { FILE *f = pctx->outf; time_t currenttime = time(NULL); @@ -468,7 +468,7 @@ fprintf(f, "%%%%EndComments\n\n"); } -void ps_end_file(rnd_ps_t *pctx) +void rnd_ps_end_file(rnd_ps_t *pctx) { FILE *f = pctx->outf; @@ -561,7 +561,7 @@ global.single_page = options[HA_single_page].lng; if (the_file) - ps_start_file(&global.ps, "PCB release: pcb-rnd " PCB_VERSION); + rnd_ps_start_file(&global.ps, "PCB release: pcb-rnd " PCB_VERSION); if (global.fillpage) { double zx, zy; @@ -663,7 +663,7 @@ global.multi_file = 0; if (fh) { - ps_end_file(&global.ps); + rnd_ps_end_file(&global.ps); fclose(fh); } @@ -804,7 +804,7 @@ gds_init(&tmp); fn = ps_cam.active ? ps_cam.fn : pcb_layer_to_file_name(&tmp, layer, flags, purpose, purpi, PCB_FNS_fixed); if (global.ps.outf) { - ps_end_file(&global.ps); + rnd_ps_end_file(&global.ps); fclose(global.ps.outf); } global.ps.outf = psopen(ps_cam.active ? fn : global.filename, fn); @@ -816,7 +816,7 @@ return 0; } - ps_start_file(&global.ps, "PCB release: pcb-rnd " PCB_VERSION); + rnd_ps_start_file(&global.ps, "PCB release: pcb-rnd " PCB_VERSION); } /*