summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
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;