--- lbbs/src/init.c 2025/10/21 06:24:51 1.31 +++ lbbs/src/init.c 2025/11/11 00:28:05 1.35 @@ -1,18 +1,14 @@ -/*************************************************************************** - init.c - description - ------------------- - Copyright : (C) 2004-2025 by Leaflet - Email : leaflet@leafok.com - ***************************************************************************/ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * init + * - initializer of server daemon + * + * 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 "bbs.h" #include "common.h" @@ -28,7 +24,7 @@ #include #include -#define CONF_DELIM_WITH_SPACE " \t\r\n" +static const char CONF_DELIM_WITH_SPACE[] = " \t\r\n"; int init_daemon(void) {