mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winspool.drv: Make cupsGetPPD optional to work around deprecation warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bf4304211c
commit
d4bc97c554
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue