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:
Viktor Szakats 2026-04-21 09:46:45 +02:00
parent 19695e815c
commit 5ff7f77310
No known key found for this signature in database

View file

@ -29,6 +29,8 @@
#include "urldata.h"
#include <wolfssl/options.h>
struct alpn_spec;
struct ssl_peer;
struct Curl_ssl_session;