--- lbbs/src/common.c 2025/07/23 01:16:28 1.37 +++ 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" @@ -23,11 +15,14 @@ const char *data_files_load_startup[] = DATA_GOODBYE, DATA_LICENSE, DATA_COPYRIGHT, + DATA_VERSION, DATA_LOGIN_ERROR, DATA_ACTIVE_BOARD, DATA_READ_HELP, + DATA_EDITOR_HELP, VAR_BBS_TOP}; -int data_files_load_startup_count = 9; // 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];