Skip to content

Commit 7f55404

Browse files
committed
Move job_id and job_name to macOS-specific code.
1 parent 24e8d4b commit 7f55404

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/ippeveps.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,6 @@ pdf_to_ps(const char *filename, /* I - Filename */
609609
int pid; /* Process ID */
610610
const char *pdf_argv[8]; /* Command-line arguments */
611611
const char *value; /* Option value */
612-
const char *job_id, /* job-id value */
613-
*job_name; /* job-name value */
614612

615613

616614
/*
@@ -628,7 +626,9 @@ pdf_to_ps(const char *filename, /* I - Filename */
628626
*/
629627

630628
#ifdef __APPLE__
631-
char pdf_options[1024]; // Options
629+
const char *job_id, // job-id value
630+
*job_name; // job-name value
631+
char pdf_options[1024]; // Options
632632

633633
if ((value = cupsGetOption("PageSize", num_options, options)) != NULL)
634634
snprintf(pdf_options, sizeof(pdf_options), "PageSize=%s", value);

0 commit comments

Comments
 (0)