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>
pull/100/head
OBATA Akio 4 years ago committed by Michele Calgaro
parent 12364c9cc3
commit 15116d8f64
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! // 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; gzFile ppd_file;
char line[4096], value[256], langver[64] = {0}, desc[256] = {0}; 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; 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; FILE *drFile;
char name[32] = {0}, 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; FILE *apsfile;
char buf[256], modelname[256]; char buf[256], modelname[256];
@ -127,7 +127,7 @@ char* nextWord(char *c)
return d; 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]; char buf[1024];
FILE *in; FILE *in;

Loading…
Cancel
Save