Skip to content
Snippets Groups Projects
Commit d4bc97c5 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

winspool.drv: Make cupsGetPPD optional to work around deprecation warning.

parent bf430421
No related branches found
No related tags found
No related merge requests found
......@@ -786,11 +786,11 @@ static void *cupshandle;
DO_FUNC(cupsFreeOptions); \
DO_FUNC(cupsGetDests); \
DO_FUNC(cupsGetOption); \
DO_FUNC(cupsGetPPD); \
DO_FUNC(cupsParseOptions); \
DO_FUNC(cupsPrintFile)
#define CUPS_OPT_FUNCS \
DO_FUNC(cupsGetNamedDest); \
DO_FUNC(cupsGetPPD); \
DO_FUNC(cupsGetPPD3); \
DO_FUNC(cupsLastErrorString)
......@@ -798,6 +798,7 @@ static void *cupshandle;
CUPS_FUNCS;
#undef DO_FUNC
static cups_dest_t * (*pcupsGetNamedDest)(http_t *, const char *, const char *);
static const char * (*pcupsGetPPD)(const char *);
static http_status_t (*pcupsGetPPD3)(http_t *, const char *, time_t *, char *, size_t);
static const char * (*pcupsLastErrorString)(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment