From: Arran Cudbard-Bell Date: Mon, 19 Jun 2017 13:37:06 +0000 (-0400) Subject: Whitespace and doxygen X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d9b4538ddd9c5b1122cd7838736eb52fcf3dac;p=thirdparty%2Ffreeradius-server.git Whitespace and doxygen --- diff --git a/src/modules/proto_radius/proto_radius_auth.c b/src/modules/proto_radius/proto_radius_auth.c index 8e7640c1e9d..8235fe260fe 100644 --- a/src/modules/proto_radius/proto_radius_auth.c +++ b/src/modules/proto_radius/proto_radius_auth.c @@ -115,7 +115,6 @@ static void auth_message(char const *msg, REQUEST *request, int goodpass) extra); } - static void auth_dup_extract(REQUEST *request) { listen_socket_t *sock = request->listener->data; @@ -200,7 +199,6 @@ static void auth_cleanup_delay(REQUEST *request, fr_state_action_t action) } } - /** Sit on a request until it's time to respond to it. * * For security reasons, rejects (and maybe some other) packets are @@ -274,7 +272,6 @@ static void auth_reject_delay(REQUEST *request, fr_state_action_t action) } } - static fr_io_final_t auth_process(REQUEST *request) { VALUE_PAIR *vp, *auth_type; @@ -856,7 +853,6 @@ static int auth_compile_section(CONF_SECTION *server_cs, char const *name1, char return 1; } - /* * Ensure that the "radius" section is compiled. */ diff --git a/src/modules/proto_radius/proto_radius_udp.c b/src/modules/proto_radius/proto_radius_udp.c index 6a4e6904bc6..4ced499fb08 100644 --- a/src/modules/proto_radius/proto_radius_udp.c +++ b/src/modules/proto_radius/proto_radius_udp.c @@ -1,8 +1,4 @@ /* - * proto_radius_udp.c RADIUS handler for UDP - * - * Version: $Id$ - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -16,11 +12,16 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - * - * Copyright 2016 The FreeRADIUS server project - * Copyright 2016 Alan DeKok */ +/** + * $Id$ + * @file proto_radius_udp.c + * @brief RADIUS handler for UDP. + * + * @copyright 2016 The FreeRADIUS server project. + * @copyright 2016 Alan DeKok (aland@deployingradius.com) + */ #include #include #include @@ -141,7 +142,6 @@ static ssize_t mod_read(void const *instance, void **packet_ctx, uint8_t *buffer return packet_len; } - static ssize_t mod_write(void const *instance, void *packet_ctx, uint8_t *buffer, size_t buffer_len) { fr_proto_radius_udp_t const *inst = talloc_get_type_abort(instance, fr_proto_radius_udp_t);