From: Arran Cudbard-Bell Date: Thu, 8 Feb 2018 20:15:24 +0000 (+0000) Subject: Rename files.c to users_file.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8e26e62faefa22cddc9fdc9cb5fda52df1b3648;p=thirdparty%2Ffreeradius-server.git Rename files.c to users_file.c --- diff --git a/src/include/radiusd.h b/src/include/radiusd.h index 44db9fdb736..cbd2b405781 100644 --- a/src/include/radiusd.h +++ b/src/include/radiusd.h @@ -472,7 +472,7 @@ int regex_request_to_sub_named(TALLOC_CTX *ctx, char **out, REQUEST *request, ch # endif #endif -/* files.c */ +/* users_file.c */ int pairlist_read(TALLOC_CTX *ctx, char const *file, PAIR_LIST **list, int complain); void pairlist_free(PAIR_LIST **); diff --git a/src/main/mainconfig.c b/src/main/mainconfig.c index 30d5d2a1e77..01c2e0f8658 100644 --- a/src/main/mainconfig.c +++ b/src/main/mainconfig.c @@ -1,8 +1,4 @@ /* - * mainconf.c Handle the server's configuration. - * - * 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,17 @@ * 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 2002,2006-2007 The FreeRADIUS server project - * Copyright 2002 Alan DeKok */ +/** + * $Id$ + * + * @brief Handle the the main server's (radiusd) configuration. + * @file main/mainconfig.c + * + * @copyright 2002,2006-2007 The FreeRADIUS server project + * @copyright 2002 Alan DeKok + */ RCSID("$Id$") #include @@ -803,7 +805,7 @@ do {\ cf_log_err(ci, "Failed loading library %s: %s", value, dlerror()); talloc_free(cs); return -1; - } + } } } /* loop over pairs in ENV */ } /* there's an ENV subsection */ diff --git a/src/main/radiusd.mk b/src/main/radiusd.mk index 09441cee4a6..b1a1bb88d43 100644 --- a/src/main/radiusd.mk +++ b/src/main/radiusd.mk @@ -4,7 +4,7 @@ SOURCES := \ conduit.c \ client.c \ crypt.c \ - files.c \ + users_file.c \ mainconfig.c \ radiusd.c \ state.c \ diff --git a/src/main/unit_test_module.mk b/src/main/unit_test_module.mk index bb0e9f4d065..c8c7e181787 100644 --- a/src/main/unit_test_module.mk +++ b/src/main/unit_test_module.mk @@ -3,7 +3,7 @@ SOURCES := \ auth.c \ client.c \ crypt.c \ - files.c \ + users_file.c \ mainconfig.c \ unit_test_module.c \ soh.c \ diff --git a/src/main/files.c b/src/main/users_file.c similarity index 100% rename from src/main/files.c rename to src/main/users_file.c