Index: cam.c =================================================================== --- cam.c (revision 26722) +++ cam.c (revision 26723) @@ -227,7 +227,7 @@ static char *cam_export_job; static cam_ctx_t cam_export_ctx; static int cam_export_has_outfile; -static int export_cam_parse_arguments(int *argc, char ***argv) +static int export_cam_parse_arguments(pcb_hid_t *hid, int *argc, char ***argv) { int d, s, oargc; if (*argc < 1) { Index: cam_compile.c =================================================================== --- cam_compile.c (revision 26722) +++ cam_compile.c (revision 26723) @@ -93,7 +93,7 @@ argc = ctx->argc; argv = ctx->argv; - if (ctx->exporter->parse_arguments(&argc, &argv) != 0) { + if (ctx->exporter->parse_arguments(ctx->exporter, &argc, &argv) != 0) { pcb_message(PCB_MSG_ERROR, "cam: exporter '%s' refused the arguments\n", code->op.write.arg); return -1; }