vquic.c: make recvfrom_packets static, avoid compiler warning

warning: no previous prototype for 'recvfrom_packets'

Reported-by: Keitagit-kun on github
Fixes #11146
Closes #11148
This commit is contained in:
Daniel Stenberg 2023-05-19 01:02:28 +02:00
parent 92772e6d39
commit 5b4bcc6ede
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -431,7 +431,7 @@ out:
}
#else /* HAVE_SENDMMSG || HAVE_SENDMSG */
CURLcode recvfrom_packets(struct Curl_cfilter *cf,
static CURLcode recvfrom_packets(struct Curl_cfilter *cf,
struct Curl_easy *data,
struct cf_quic_ctx *qctx,
size_t max_pkts,