Commit d4bc97c5 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent bf430421
...@@ -786,11 +786,11 @@ static void *cupshandle; ...@@ -786,11 +786,11 @@ static void *cupshandle;
DO_FUNC(cupsFreeOptions); \ DO_FUNC(cupsFreeOptions); \
DO_FUNC(cupsGetDests); \ DO_FUNC(cupsGetDests); \
DO_FUNC(cupsGetOption); \ DO_FUNC(cupsGetOption); \
DO_FUNC(cupsGetPPD); \
DO_FUNC(cupsParseOptions); \ DO_FUNC(cupsParseOptions); \
DO_FUNC(cupsPrintFile) DO_FUNC(cupsPrintFile)
#define CUPS_OPT_FUNCS \ #define CUPS_OPT_FUNCS \
DO_FUNC(cupsGetNamedDest); \ DO_FUNC(cupsGetNamedDest); \
DO_FUNC(cupsGetPPD); \
DO_FUNC(cupsGetPPD3); \ DO_FUNC(cupsGetPPD3); \
DO_FUNC(cupsLastErrorString) DO_FUNC(cupsLastErrorString)
...@@ -798,6 +798,7 @@ static void *cupshandle; ...@@ -798,6 +798,7 @@ static void *cupshandle;
CUPS_FUNCS; CUPS_FUNCS;
#undef DO_FUNC #undef DO_FUNC
static cups_dest_t * (*pcupsGetNamedDest)(http_t *, const char *, const char *); 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 http_status_t (*pcupsGetPPD3)(http_t *, const char *, time_t *, char *, size_t);
static const char * (*pcupsLastErrorString)(void); static const char * (*pcupsLastErrorString)(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment