summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-10 18:29:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-12 21:40:35 +0900
commit15116d8f64b35a695bcabc92239667c8684dc545 (patch)
tree8a2057934970aa4865205914efad8d30e6745e8c /tdeprint
parent12364c9cc38c1561e5c0b2784c7ed6af4360cb74 (diff)
downloadtdelibs-15116d8f64b35a695bcabc92239667c8684dc545.tar.gz
tdelibs-15116d8f64b35a695bcabc92239667c8684dc545.zip
Fix missing argments for drive parse filter on lpr
It was extended for compressed PPD support, but not refrected to lpr parts. Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/cups/make_driver_db_cups.cpp2
-rw-r--r--tdeprint/driverparse.c2
-rw-r--r--tdeprint/lpr/make_driver_db_lpr.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/tdeprint/cups/make_driver_db_cups.cpp b/tdeprint/cups/make_driver_db_cups.cpp
index 9b700111f..a5eb1b8e5 100644
--- a/tdeprint/cups/make_driver_db_cups.cpp
+++ b/tdeprint/cups/make_driver_db_cups.cpp
@@ -213,7 +213,7 @@ void initCompressedPpd(const char *dirname)
// If we were to rerun initPpd here then all drivers would be duplicated!
}
-int parsePpdFile(const char *filename, const char *origin, const char *metadata, FILE *output_file)
+int parsePpdFile(const char *filename, const char * /*origin*/, const char * /*metadata*/, FILE *output_file)
{
gzFile ppd_file;
char line[4096], value[256], langver[64] = {0}, desc[256] = {0};
diff --git a/tdeprint/driverparse.c b/tdeprint/driverparse.c
index 891bdfe39..4f4cceb83 100644
--- a/tdeprint/driverparse.c
+++ b/tdeprint/driverparse.c
@@ -280,7 +280,7 @@ int getMaticPrinterInfos(const char *base, const char *id, char *make, char *mod
return 1;
}
-int parseMaticFile(const char *driver, const char *origin, const char *metadata, FILE *output)
+int parseMaticFile(const char *driver, const char * /*origin*/, const char * /*metadata*/, FILE *output)
{
FILE *drFile;
char name[32] = {0},
diff --git a/tdeprint/lpr/make_driver_db_lpr.c b/tdeprint/lpr/make_driver_db_lpr.c
index 8febe4c2b..13ca3263a 100644
--- a/tdeprint/lpr/make_driver_db_lpr.c
+++ b/tdeprint/lpr/make_driver_db_lpr.c
@@ -47,7 +47,7 @@ void simplifyModel(const char *modelname)
}
}
-int parseApsFile(const char *filename, FILE *output)
+int parseApsFile(const char *filename, const char * /*origin*/, const char * /*metadata*/, FILE *output)
{
FILE *apsfile;
char buf[256], modelname[256];
@@ -127,7 +127,7 @@ char* nextWord(char *c)
return d;
}
-int parseIfhpFile(const char *filename, FILE *output)
+int parseIfhpFile(const char *filename, const char * /*origin*/, const char * /*metadata*/, FILE *output)
{
char buf[1024];
FILE *in;