aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rastertoql570.c4
-rw-r--r--src/rastertoql570.h2
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