diff --git a/src/options.c b/src/options.c index 3d17d6d..1d3a437 100644 --- a/src/options.c +++ b/src/options.c @@ -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; } diff --git a/src/options.h b/src/options.h index c72d52d..2ed365b 100644 --- a/src/options.h +++ b/src/options.h @@ -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 diff --git a/src/ssl.c b/src/ssl.c index 934bb81..30cf712 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -42,7 +42,7 @@ /** * Underline socket error. */ -static int lsec_socket_error() +static int lsec_socket_error(void) { #if defined(WIN32) return WSAGetLastError();