Fix building when webp libs are not there.

This commit is contained in:
2025-05-12 22:29:43 -04:00
parent c64846c02c
commit 22fc5227c4

View File

@ -218,8 +218,8 @@ void *a_Webp_new(DilloImage *Image, DilloUrl *url, int version)
#else /* ENABLE_WEBP */
void *a_Webp_new() { return 0; }
void a_Webp_callback() { return; }
void *a_Webp_new(DilloImage *, DilloUrl *, int) { return 0; }
void a_Webp_callback(int Op, void *data) { return; }
const char *a_Webp_version(char *buf, int n) { return 0; }
#endif /* ENABLE_WEBP */