diff options
author | Clemens Fries <github-raster@xenoworld.de> | 2020-10-05 19:03:20 +0200 |
---|---|---|
committer | Clemens Fries <github-raster@xenoworld.de> | 2020-10-05 19:03:20 +0200 |
commit | d8fb0709843fc8655a669671a688a459769aa518 (patch) | |
tree | 5633529ad2bfef475667fc612a40551bb52b92ac /src | |
parent | 2561dc92cf2b3422565c382b50d70e300e61abb4 (diff) |
rastertoql570.c: Remove unused parameter from handle_page()
Diffstat (limited to 'src')
-rw-r--r-- | src/rastertoql570.c | 4 | ||||
-rw-r--r-- | src/rastertoql570.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rastertoql570.c b/src/rastertoql570.c index f2c3fa1..07a696e 100644 --- a/src/rastertoql570.c +++ b/src/rastertoql570.c @@ -64,7 +64,7 @@ main(__attribute__((unused)) int argc, __attribute__((unused)) char** argv) unsigned int page_counter = 0; while (cupsRasterReadHeader2(raster, &header)) { - handle_page(raster, header, status, page_counter, fout); + handle_page(raster, header, page_counter, fout); page_counter++; // Printing this information will also end up on the jobs page @@ -88,7 +88,7 @@ main(__attribute__((unused)) int argc, __attribute__((unused)) char** argv) * */ void -handle_page(cups_raster_t *raster, cups_page_header2_t header, ql_status status, unsigned int page_counter, FILE *fout) +handle_page(cups_raster_t *raster, cups_page_header2_t header, unsigned int page_counter, FILE *fout) { /* // TODO: Support some safety option for testing. if( header.cupsHeight > 900 ) diff --git a/src/rastertoql570.h b/src/rastertoql570.h index 7e1fe2d..ff5d196 100644 --- a/src/rastertoql570.h +++ b/src/rastertoql570.h @@ -27,6 +27,6 @@ bool request_status(ql_status*, FILE*); void wait_for_page_end(); bool handle_status(ql_status*); void print_blank_lines(uint32_t count, size_t buffer_size, FILE *device); -void handle_page(cups_raster_t*, cups_page_header2_t, ql_status, unsigned int, FILE*); +void handle_page(cups_raster_t*, cups_page_header2_t, unsigned int, FILE*); #endif |