mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
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:
parent
92772e6d39
commit
5b4bcc6ede
@ -431,11 +431,11 @@ out:
|
||||
}
|
||||
|
||||
#else /* HAVE_SENDMMSG || HAVE_SENDMSG */
|
||||
CURLcode recvfrom_packets(struct Curl_cfilter *cf,
|
||||
struct Curl_easy *data,
|
||||
struct cf_quic_ctx *qctx,
|
||||
size_t max_pkts,
|
||||
vquic_recv_pkt_cb *recv_cb, void *userp)
|
||||
static CURLcode recvfrom_packets(struct Curl_cfilter *cf,
|
||||
struct Curl_easy *data,
|
||||
struct cf_quic_ctx *qctx,
|
||||
size_t max_pkts,
|
||||
vquic_recv_pkt_cb *recv_cb, void *userp)
|
||||
{
|
||||
uint8_t buf[64*1024];
|
||||
int bufsize = (int)sizeof(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user