--- lbbs/src/test_file_loader.c 2025/06/04 13:42:53 1.7 +++ lbbs/src/test_file_loader.c 2025/11/11 00:28:05 1.13 @@ -1,28 +1,24 @@ -/*************************************************************************** - file_loader.c - description - ------------------- - Copyright : (C) 2004-2025 by Leaflet - Email : leaflet@leafok.com - ***************************************************************************/ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * test_file_loader + * - tester for shared memory based file loader + * + * Copyright (C) 2004-2025 Leaflet + */ -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "file_loader.h" -#include "trie_dict.h" #include "log.h" +#include "trie_dict.h" +#include #include #include -#include #include -#define TRIE_DICT_SHM_FILE "~trie_dict_shm.dat" +static const char TRIE_DICT_SHM_FILE[] = "~trie_dict_shm.dat"; const char *files[] = { "../data/welcome.txt",