]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix UNUSED for radius/1.1
authorAlan T. DeKok <aland@freeradius.org>
Wed, 13 Mar 2024 14:00:24 +0000 (10:00 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 13 Mar 2024 14:00:59 +0000 (10:00 -0400)
src/main/listen.c

index 1a8067dca4c1df00b1647849a4ea72f9bdbd264b..8a0bff5ebf47e38f755c2b91d95e6f0faf1d57ec 100644 (file)
@@ -809,7 +809,7 @@ static int radiusv11_server_alpn_cb(SSL *ssl,
        return SSL_TLSEXT_ERR_ALERT_FATAL;
 }
 
-static int radiusv11_client_hello_cb(SSL *s, int *alert, void *arg)
+static int radiusv11_client_hello_cb(UNUSED SSL *s, int *alert, void *arg)
 {
        rad_listen_t *this = arg;
        listen_socket_t *sock = this->data;
@@ -2733,7 +2733,7 @@ static int proxy_socket_encode(RADIUSV11_UNUSED rad_listen_t *listener, REQUEST
 }
 
 
-static int proxy_socket_decode(UNUSED rad_listen_t *listener, REQUEST *request)
+static int proxy_socket_decode(RADIUSV11_UNUSED rad_listen_t *listener, REQUEST *request)
 {
 #ifdef WITH_RADIUSV11
        listen_socket_t *sock = listener->data;