Change #265097
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Tue 21 Apr 2026 10:09:58 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 5ff7f773106176d60d6f3386017b58b3b01edb41 |
Comments
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 cc5c1553fbdb8c1391d0cf81134583ee32da64d4 #19852
Closes #21392
Changed files
- lib/vtls/wolfssl.h