--- lbbs/src/common.c 2025/10/19 07:42:53 1.39 +++ lbbs/src/common.c 2025/11/04 13:49:51 1.41 @@ -1,18 +1,10 @@ -/*************************************************************************** - common.c - description - ------------------- - Copyright : (C) 2004-2025 by Leaflet - Email : leaflet@leafok.com - ***************************************************************************/ - -/*************************************************************************** - * * - * 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 3 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * common + * - common definitions + * + * Copyright (C) 2004-2025 by Leaflet + */ #include "common.h" @@ -29,7 +21,8 @@ const char *data_files_load_startup[] = DATA_READ_HELP, DATA_EDITOR_HELP, VAR_BBS_TOP}; -int data_files_load_startup_count = 11; // Count of data_files_load_startup[] + +const int data_files_load_startup_count = sizeof(data_files_load_startup) / sizeof(const char *); // Global declaration for sockets int socket_server[2];