mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:47:15 +03:00
wolfssl: fix -Wmissing-prototypes
Seen with unity, H3, wolfssl with `HAVE_EX_DATA`.
Fixing:
```
lib/vtls/wolfssl.c:412:10: error: no previous prototype for function 'Curl_wssl_cache_session' [-Wmissing-prototypes]
412 | CURLcode Curl_wssl_cache_session(struct Curl_cfilter *cf,
| ^
lib/vtls/wolfssl.c:412:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
412 | CURLcode Curl_wssl_cache_session(struct Curl_cfilter *cf,
| ^
| static
1 error generated.
```
Follow-up to cc5c1553fb #19852
Closes #21392
This commit is contained in:
parent
19695e815c
commit
5ff7f77310
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@
|
|||
|
||||
#include "urldata.h"
|
||||
|
||||
#include <wolfssl/options.h>
|
||||
|
||||
struct alpn_spec;
|
||||
struct ssl_peer;
|
||||
struct Curl_ssl_session;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue