add a few missing (void) to please clang

This commit is contained in:
Omar Polo 2023-12-09 12:23:34 +00:00
parent 4c06287052
commit 322c32eeb5
3 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ static lsec_ssl_option_t ssl_options[] = {
{NULL, 0L}
};
LSEC_API lsec_ssl_option_t* lsec_get_ssl_options() {
LSEC_API lsec_ssl_option_t* lsec_get_ssl_options(void) {
return ssl_options;
}

View File

@ -17,6 +17,6 @@ struct lsec_ssl_option_s {
typedef struct lsec_ssl_option_s lsec_ssl_option_t;
LSEC_API lsec_ssl_option_t* lsec_get_ssl_options();
LSEC_API lsec_ssl_option_t* lsec_get_ssl_options(void);
#endif

View File

@ -42,7 +42,7 @@
/**
* Underline socket error.
*/
static int lsec_socket_error()
static int lsec_socket_error(void)
{
#if defined(WIN32)
return WSAGetLastError();