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>
(cherry picked from commit 15116d8f64)
r14.0.x
OBATA Akio 4 years ago committed by Michele Calgaro
parent 24a2027ee7
commit c136ff9700
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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};

@ -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},

@ -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;

Loading…
Cancel
Save