1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

all: move description of C files below the copyright and license

This commit is contained in:
Sébastien Helleu
2025-03-30 21:16:11 +02:00
parent 3a6ac9ee76
commit 2475f20cb7
345 changed files with 690 additions and 690 deletions
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-backlog.c - display backlog of messages
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Display backlog of messages */
/* this define is needed for strptime() (not on OpenBSD/Sun) */
#if !defined(__OpenBSD__) && !defined(__sun)
#define _XOPEN_SOURCE 700
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-buffer.c - logger buffer list management
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Logger buffer list management */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-command.c - logger commands
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Logger commands */
#include <stdlib.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-config.c - logger configuration options (file logger.conf)
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Logger configuration options (file logger.conf) */
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-info.c - info and infolist hooks for logger plugin
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Info and infolist hooks for logger plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-tail.c - return last lines of a file
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Return last lines of a file */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger.c - logger plugin for WeeChat: save buffer lines to disk files
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Logger plugin for WeeChat: save buffer lines to disk files */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>