summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-15 12:27:57 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-15 12:27:57 +0100
commit7eb5cc4b9719cb52d931f91914d11830f6b82385 (patch)
treea850ee3b91e48bb388098f480fb895e31a80451c
parentcore: simplify syntax for second argument (diff)
downloadweechat-7eb5cc4b9719cb52d931f91914d11830f6b82385.tar.xz
weechat-7eb5cc4b9719cb52d931f91914d11830f6b82385.zip
core: move comments with description of C file to top of files
-rw-r--r--src/core/wee-backtrace.c6
-rw-r--r--src/core/wee-command.c6
-rw-r--r--src/core/wee-completion.c6
-rw-r--r--src/core/wee-config-file.c6
-rw-r--r--src/core/wee-config.c6
-rw-r--r--src/core/wee-debug.c6
-rw-r--r--src/core/wee-eval.c6
-rw-r--r--src/core/wee-hashtable.c6
-rw-r--r--src/core/wee-hdata.c6
-rw-r--r--src/core/wee-hook.c6
-rw-r--r--src/core/wee-infolist.c6
-rw-r--r--src/core/wee-input.c6
-rw-r--r--src/core/wee-list.c6
-rw-r--r--src/core/wee-log.c6
-rw-r--r--src/core/wee-network.c6
-rw-r--r--src/core/wee-proxy.c6
-rw-r--r--src/core/wee-string.c6
-rw-r--r--src/core/wee-upgrade-file.c6
-rw-r--r--src/core/wee-upgrade.c7
-rw-r--r--src/core/wee-url.c6
-rw-r--r--src/core/wee-utf8.c6
-rw-r--r--src/core/wee-util.c6
-rw-r--r--src/core/weechat.c6
-rw-r--r--src/gui/curses/gui-curses-bar-window.c6
-rw-r--r--src/gui/curses/gui-curses-chat.c6
-rw-r--r--src/gui/curses/gui-curses-color.c6
-rw-r--r--src/gui/curses/gui-curses-key.c6
-rw-r--r--src/gui/curses/gui-curses-main.c6
-rw-r--r--src/gui/curses/gui-curses-mouse.c6
-rw-r--r--src/gui/curses/gui-curses-term.c6
-rw-r--r--src/gui/curses/gui-curses-window.c6
-rw-r--r--src/gui/gtk/gui-gtk-bar-window.c6
-rw-r--r--src/gui/gtk/gui-gtk-chat.c6
-rw-r--r--src/gui/gtk/gui-gtk-color.c6
-rw-r--r--src/gui/gtk/gui-gtk-key.c6
-rw-r--r--src/gui/gtk/gui-gtk-main.c6
-rw-r--r--src/gui/gtk/gui-gtk-mouse.c6
-rw-r--r--src/gui/gtk/gui-gtk-term.c6
-rw-r--r--src/gui/gtk/gui-gtk-window.c6
-rw-r--r--src/gui/gui-bar-item.c6
-rw-r--r--src/gui/gui-bar-window.c6
-rw-r--r--src/gui/gui-bar.c6
-rw-r--r--src/gui/gui-buffer.c6
-rw-r--r--src/gui/gui-chat.c6
-rw-r--r--src/gui/gui-color.c6
-rw-r--r--src/gui/gui-completion.c6
-rw-r--r--src/gui/gui-cursor.c6
-rw-r--r--src/gui/gui-filter.c6
-rw-r--r--src/gui/gui-focus.c6
-rw-r--r--src/gui/gui-history.c6
-rw-r--r--src/gui/gui-hotlist.c7
-rw-r--r--src/gui/gui-input.c6
-rw-r--r--src/gui/gui-key.c6
-rw-r--r--src/gui/gui-layout.c6
-rw-r--r--src/gui/gui-line.c6
-rw-r--r--src/gui/gui-mouse.c6
-rw-r--r--src/gui/gui-nicklist.c6
-rw-r--r--src/gui/gui-window.c6
-rw-r--r--src/plugins/alias/alias-config.c6
-rw-r--r--src/plugins/alias/alias-info.c6
-rw-r--r--src/plugins/alias/alias.c7
-rw-r--r--src/plugins/aspell/weechat-aspell-bar-item.c6
-rw-r--r--src/plugins/aspell/weechat-aspell-config.c6
-rw-r--r--src/plugins/aspell/weechat-aspell-speller.c6
-rw-r--r--src/plugins/aspell/weechat-aspell.c7
-rw-r--r--src/plugins/charset/charset.c7
-rw-r--r--src/plugins/demo/demo.c6
-rw-r--r--src/plugins/fifo/fifo-info.c6
-rw-r--r--src/plugins/fifo/fifo.c6
-rw-r--r--src/plugins/guile/weechat-guile-api.c6
-rw-r--r--src/plugins/guile/weechat-guile.c6
-rw-r--r--src/plugins/irc/irc-bar-item.c6
-rw-r--r--src/plugins/irc/irc-buffer.c6
-rw-r--r--src/plugins/irc/irc-channel.c6
-rw-r--r--src/plugins/irc/irc-color.c6
-rw-r--r--src/plugins/irc/irc-command.c6
-rw-r--r--src/plugins/irc/irc-completion.c6
-rw-r--r--src/plugins/irc/irc-config.c6
-rw-r--r--src/plugins/irc/irc-ctcp.c6
-rw-r--r--src/plugins/irc/irc-debug.c6
-rw-r--r--src/plugins/irc/irc-display.c6
-rw-r--r--src/plugins/irc/irc-ignore.c6
-rw-r--r--src/plugins/irc/irc-info.c6
-rw-r--r--src/plugins/irc/irc-input.c6
-rw-r--r--src/plugins/irc/irc-message.c6
-rw-r--r--src/plugins/irc/irc-mode.c6
-rw-r--r--src/plugins/irc/irc-msgbuffer.c6
-rw-r--r--src/plugins/irc/irc-nick.c6
-rw-r--r--src/plugins/irc/irc-notify.c6
-rw-r--r--src/plugins/irc/irc-protocol.c7
-rw-r--r--src/plugins/irc/irc-raw.c6
-rw-r--r--src/plugins/irc/irc-redirect.c6
-rw-r--r--src/plugins/irc/irc-sasl.c7
-rw-r--r--src/plugins/irc/irc-server.c6
-rw-r--r--src/plugins/irc/irc-upgrade.c6
-rw-r--r--src/plugins/irc/irc.c6
-rw-r--r--src/plugins/logger/logger-buffer.c6
-rw-r--r--src/plugins/logger/logger-config.c6
-rw-r--r--src/plugins/logger/logger-info.c6
-rw-r--r--src/plugins/logger/logger-tail.c6
-rw-r--r--src/plugins/logger/logger.c6
-rw-r--r--src/plugins/lua/weechat-lua-api.c6
-rw-r--r--src/plugins/lua/weechat-lua.c6
-rw-r--r--src/plugins/perl/weechat-perl-api.c6
-rw-r--r--src/plugins/perl/weechat-perl.c6
-rw-r--r--src/plugins/plugin-api.c6
-rw-r--r--src/plugins/plugin-config.c6
-rw-r--r--src/plugins/plugin-script-api.c6
-rw-r--r--src/plugins/plugin-script-callback.c6
-rw-r--r--src/plugins/plugin-script.c6
-rw-r--r--src/plugins/plugin.c6
-rw-r--r--src/plugins/python/weechat-python-api.c6
-rw-r--r--src/plugins/python/weechat-python.c6
-rw-r--r--src/plugins/relay/irc/relay-irc.c7
-rw-r--r--src/plugins/relay/relay-buffer.c6
-rw-r--r--src/plugins/relay/relay-client.c6
-rw-r--r--src/plugins/relay/relay-command.c6
-rw-r--r--src/plugins/relay/relay-completion.c6
-rw-r--r--src/plugins/relay/relay-config.c6
-rw-r--r--src/plugins/relay/relay-info.c6
-rw-r--r--src/plugins/relay/relay-network.c6
-rw-r--r--src/plugins/relay/relay-raw.c6
-rw-r--r--src/plugins/relay/relay-server.c6
-rw-r--r--src/plugins/relay/relay-upgrade.c6
-rw-r--r--src/plugins/relay/relay.c6
-rw-r--r--src/plugins/relay/weechat/relay-weechat-msg.c6
-rw-r--r--src/plugins/relay/weechat/relay-weechat-protocol.c6
-rw-r--r--src/plugins/relay/weechat/relay-weechat.c6
-rw-r--r--src/plugins/rmodifier/rmodifier-command.c6
-rw-r--r--src/plugins/rmodifier/rmodifier-completion.c6
-rw-r--r--src/plugins/rmodifier/rmodifier-config.c6
-rw-r--r--src/plugins/rmodifier/rmodifier-debug.c6
-rw-r--r--src/plugins/rmodifier/rmodifier-info.c6
-rw-r--r--src/plugins/rmodifier/rmodifier.c7
-rw-r--r--src/plugins/ruby/weechat-ruby-api.c6
-rw-r--r--src/plugins/ruby/weechat-ruby.c6
-rw-r--r--src/plugins/script/script-action.c6
-rw-r--r--src/plugins/script/script-buffer.c6
-rw-r--r--src/plugins/script/script-command.c6
-rw-r--r--src/plugins/script/script-completion.c6
-rw-r--r--src/plugins/script/script-config.c6
-rw-r--r--src/plugins/script/script-info.c6
-rw-r--r--src/plugins/script/script-repo.c6
-rw-r--r--src/plugins/script/script.c6
-rw-r--r--src/plugins/tcl/weechat-tcl-api.c6
-rw-r--r--src/plugins/tcl/weechat-tcl.c6
-rw-r--r--src/plugins/weechat-plugin.h7
-rw-r--r--src/plugins/xfer/xfer-buffer.c6
-rw-r--r--src/plugins/xfer/xfer-chat.c6
-rw-r--r--src/plugins/xfer/xfer-command.c6
-rw-r--r--src/plugins/xfer/xfer-completion.c6
-rw-r--r--src/plugins/xfer/xfer-config.c6
-rw-r--r--src/plugins/xfer/xfer-dcc.c6
-rw-r--r--src/plugins/xfer/xfer-file.c6
-rw-r--r--src/plugins/xfer/xfer-info.c6
-rw-r--r--src/plugins/xfer/xfer-network.c6
-rw-r--r--src/plugins/xfer/xfer-upgrade.c6
-rw-r--r--src/plugins/xfer/xfer.c6
158 files changed, 316 insertions, 642 deletions
diff --git a/src/core/wee-backtrace.c b/src/core/wee-backtrace.c
index 863fa9228..d5eea18fa 100644
--- a/src/core/wee-backtrace.c
+++ b/src/core/wee-backtrace.c
@@ -1,4 +1,6 @@
/*
+ * wee-backtrace.c - backtrace after a segfault
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-backtrace.c: display backtrace after a segfault
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index dada86788..10ef4d126 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1,4 +1,6 @@
/*
+ * wee-command.c - WeeChat core commands
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-command.c: WeeChat core commands
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-completion.c b/src/core/wee-completion.c
index 5de9c9942..59edafb89 100644
--- a/src/core/wee-completion.c
+++ b/src/core/wee-completion.c
@@ -1,4 +1,6 @@
/*
+ * wee-completion.c - completion for WeeChat commands
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-completion.c: completion for WeeChat commands
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c
index 2ac1e2046..8b86ece90 100644
--- a/src/core/wee-config-file.c
+++ b/src/core/wee-config-file.c
@@ -1,4 +1,6 @@
/*
+ * wee-config-file.c - configuration files/sections/options management
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-config-file.c: configuration files/sections/options management
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 530bd9d67..f82abe419 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -1,4 +1,6 @@
/*
+ * wee-config.c - WeeChat configuration options (file weechat.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-config.c: WeeChat configuration options (file weechat.conf)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-debug.c b/src/core/wee-debug.c
index 1be397a02..24b69f472 100644
--- a/src/core/wee-debug.c
+++ b/src/core/wee-debug.c
@@ -1,4 +1,6 @@
/*
+ * wee-debug.c - debug functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-debug.c: debug functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-eval.c b/src/core/wee-eval.c
index 8f5faa247..ffd5b296c 100644
--- a/src/core/wee-eval.c
+++ b/src/core/wee-eval.c
@@ -1,4 +1,6 @@
/*
+ * wee-eval.c - evaluate expressions with references to internal vars
+ *
* Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-eval.c: evaluate expressions with references to internal vars
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-hashtable.c b/src/core/wee-hashtable.c
index 8db9445f1..716daeeee 100644
--- a/src/core/wee-hashtable.c
+++ b/src/core/wee-hashtable.c
@@ -1,4 +1,6 @@
/*
+ * wee-hashtable.c - implementation of hashtable
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-hashtable.c: implementation of hashtable
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-hdata.c b/src/core/wee-hdata.c
index 95b0f2eb4..92e724543 100644
--- a/src/core/wee-hdata.c
+++ b/src/core/wee-hdata.c
@@ -1,4 +1,6 @@
/*
+ * wee-hdata.c - direct access to WeeChat data using hashtables
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-hdata.c: direct access to WeeChat data using hashtables
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index bf42740de..468b92355 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -1,4 +1,6 @@
/*
+ * wee-hook.c - WeeChat hooks management
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2012 Simon Arlott
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-hook.c: WeeChat hooks management
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-infolist.c b/src/core/wee-infolist.c
index 61612e19d..def7bbabd 100644
--- a/src/core/wee-infolist.c
+++ b/src/core/wee-infolist.c
@@ -1,4 +1,6 @@
/*
+ * wee-infolist.c - info lists management
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-infolist.c: info lists management
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-input.c b/src/core/wee-input.c
index 15c85a618..dcfa9caa0 100644
--- a/src/core/wee-input.c
+++ b/src/core/wee-input.c
@@ -1,4 +1,6 @@
/*
+ * wee-input.c - default input callback for buffers
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-input.c: default callback function to read user input
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-list.c b/src/core/wee-list.c
index b884e4178..9c1b0a6c3 100644
--- a/src/core/wee-list.c
+++ b/src/core/wee-list.c
@@ -1,4 +1,6 @@
/*
+ * wee-list.c - sorted lists
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-list.c: sorted lists management
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-log.c b/src/core/wee-log.c
index 3bc8732e6..ecfccee93 100644
--- a/src/core/wee-log.c
+++ b/src/core/wee-log.c
@@ -1,4 +1,6 @@
/*
+ * wee-log.c - WeeChat log file (weechat.log)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-log.c: WeeChat log file
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-network.c b/src/core/wee-network.c
index c164cffe1..9c41670f4 100644
--- a/src/core/wee-network.c
+++ b/src/core/wee-network.c
@@ -1,4 +1,6 @@
/*
+ * wee-network.c - network functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2010 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2010 Gu1ll4um3r0m41n <aeroxteam@gmail.com>
@@ -20,10 +22,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-network.c: network functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-proxy.c b/src/core/wee-proxy.c
index 3adb0b531..e63bce8bd 100644
--- a/src/core/wee-proxy.c
+++ b/src/core/wee-proxy.c
@@ -1,4 +1,6 @@
/*
+ * wee-proxy.c - proxy functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-proxy.c: proxy functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index fa03cfa23..d6474af15 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -1,4 +1,6 @@
/*
+ * wee-string.c - string functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-string.c: string functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-upgrade-file.c b/src/core/wee-upgrade-file.c
index 2d8d9b611..f0e6dedf0 100644
--- a/src/core/wee-upgrade-file.c
+++ b/src/core/wee-upgrade-file.c
@@ -1,4 +1,6 @@
/*
+ * wee-upgrade-file.c - save/restore data for upgrading WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-upgrade-file.c: save/restore data for upgrading WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c
index ede2c382d..cc0e5fe96 100644
--- a/src/core/wee-upgrade.c
+++ b/src/core/wee-upgrade.c
@@ -1,4 +1,6 @@
/*
+ * wee-upgrade.c - save/restore session data of WeeChat core
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-upgrade.c: save/restore session data of WeeChat core
- * (buffers, command history, hotlist, uptime)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-url.c b/src/core/wee-url.c
index e8449596b..459be9337 100644
--- a/src/core/wee-url.c
+++ b/src/core/wee-url.c
@@ -1,4 +1,6 @@
/*
+ * wee-url.c - URL transfer
+ *
* Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-url.c: URL transfer
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-utf8.c b/src/core/wee-utf8.c
index f66436872..10181ae07 100644
--- a/src/core/wee-utf8.c
+++ b/src/core/wee-utf8.c
@@ -1,4 +1,6 @@
/*
+ * wee-utf8.c - UTF-8 string functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-utf8.c: UTF-8 string functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/wee-util.c b/src/core/wee-util.c
index 63f54e66f..f862adb7e 100644
--- a/src/core/wee-util.c
+++ b/src/core/wee-util.c
@@ -1,4 +1,6 @@
/*
+ * wee-util.c - some useful functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * wee-util.c: some useful functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/core/weechat.c b/src/core/weechat.c
index e41115fd1..96fb363ff 100644
--- a/src/core/weechat.c
+++ b/src/core/weechat.c
@@ -14,6 +14,8 @@
* ## ##
* ##########################################################################
*
+ * weechat.c - WeeChat main functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -32,10 +34,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat.c: core functions for WeeChat
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-bar-window.c b/src/gui/curses/gui-curses-bar-window.c
index 83a1375f4..452a78ca3 100644
--- a/src/gui/curses/gui-curses-bar-window.c
+++ b/src/gui/curses/gui-curses-bar-window.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-bar-window.c - bar window functions for Curses GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-bar-window.c: bar window functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index 56fae3136..b404682fe 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-chat.c - chat display functions for Curses GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-chat.c: chat display functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c
index 44c164bf9..57cb67ba9 100644
--- a/src/gui/curses/gui-curses-color.c
+++ b/src/gui/curses/gui-curses-color.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-color.c - color functions for Curses GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-color.c: color functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index 1d43e5219..fd8b100f8 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-key.c - keyboard functions for Curses GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-key.c: keyboard functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index dcb92846c..90683ee2f 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-main.c - main loop for Curses GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-main.c: main loop for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-mouse.c b/src/gui/curses/gui-curses-mouse.c
index 8a9b658ee..34c5c2fd5 100644
--- a/src/gui/curses/gui-curses-mouse.c
+++ b/src/gui/curses/gui-curses-mouse.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-mouse.c - mouse functions for Curses GUI
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-mouse.c: mouse functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-term.c b/src/gui/curses/gui-curses-term.c
index 65d0695c5..7cdc1c8d8 100644
--- a/src/gui/curses/gui-curses-term.c
+++ b/src/gui/curses/gui-curses-term.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-term.c - terminal functions for Curses GUI
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-term.c: terminal functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index be3a62ec5..0adfc1f13 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -1,4 +1,6 @@
/*
+ * gui-curses-window.c - window display functions for Curses GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-curses-window.c: window display functions for Curses GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-bar-window.c b/src/gui/gtk/gui-gtk-bar-window.c
index cabc562e0..029dc9178 100644
--- a/src/gui/gtk/gui-gtk-bar-window.c
+++ b/src/gui/gtk/gui-gtk-bar-window.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-bar-window.c - bar window functions for Gtk GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-bar-window.c: bar window functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-chat.c b/src/gui/gtk/gui-gtk-chat.c
index 19dd9afd0..0b85eaa32 100644
--- a/src/gui/gtk/gui-gtk-chat.c
+++ b/src/gui/gtk/gui-gtk-chat.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-chat.c - chat display functions for Gtk GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-chat.c: chat display functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-color.c b/src/gui/gtk/gui-gtk-color.c
index ff72c51b6..8efa3fd13 100644
--- a/src/gui/gtk/gui-gtk-color.c
+++ b/src/gui/gtk/gui-gtk-color.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-color.c - color functions for Gtk GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-color.c: color functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-key.c b/src/gui/gtk/gui-gtk-key.c
index 4cd1ab866..55206f1ff 100644
--- a/src/gui/gtk/gui-gtk-key.c
+++ b/src/gui/gtk/gui-gtk-key.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-keyboard.c - keyboard functions for Gtk GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-keyboard.c: keyboard functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-main.c b/src/gui/gtk/gui-gtk-main.c
index b8b2577c7..72278156b 100644
--- a/src/gui/gtk/gui-gtk-main.c
+++ b/src/gui/gtk/gui-gtk-main.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-main.c - main loop for Gtk GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-main.c: main loop for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-mouse.c b/src/gui/gtk/gui-gtk-mouse.c
index a6feb26e7..a39157e1a 100644
--- a/src/gui/gtk/gui-gtk-mouse.c
+++ b/src/gui/gtk/gui-gtk-mouse.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-mouse.c - mouse functions for Gtk GUI
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-mouse.c: mouse functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-term.c b/src/gui/gtk/gui-gtk-term.c
index 618ca3faa..bc942b8ca 100644
--- a/src/gui/gtk/gui-gtk-term.c
+++ b/src/gui/gtk/gui-gtk-term.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-term.c - terminal functions for Gtk GUI
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-term.c: terminal functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gtk/gui-gtk-window.c b/src/gui/gtk/gui-gtk-window.c
index ba912a866..9efd0665c 100644
--- a/src/gui/gtk/gui-gtk-window.c
+++ b/src/gui/gtk/gui-gtk-window.c
@@ -1,4 +1,6 @@
/*
+ * gui-gtk-window.c - window display functions for Gtk GUI
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-gtk-window.c: window display functions for Gtk GUI
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index e8ae2b1b6..7113f923a 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -1,4 +1,6 @@
/*
+ * gui-bar-item.c - bar item functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-bar-item.c: bar item functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-bar-window.c b/src/gui/gui-bar-window.c
index 08e9125a1..eecb34b34 100644
--- a/src/gui/gui-bar-window.c
+++ b/src/gui/gui-bar-window.c
@@ -1,4 +1,6 @@
/*
+ * gui-bar-window.c - bar window functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-bar-window.c: bar window functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index a884b6653..854622f84 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -1,4 +1,6 @@
/*
+ * gui-bar.c - bar functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-bar.c: bar functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index fba3f3bfc..f5c4ea809 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -1,4 +1,6 @@
/*
+ * gui-buffer.c - buffer functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-buffer.c: buffer functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c
index d0dd74a5d..3799a888c 100644
--- a/src/gui/gui-chat.c
+++ b/src/gui/gui-chat.c
@@ -1,4 +1,6 @@
/*
+ * gui-chat.c - chat functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-chat.c: chat functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-color.c b/src/gui/gui-color.c
index 8aee841af..a33f4d44a 100644
--- a/src/gui/gui-color.c
+++ b/src/gui/gui-color.c
@@ -1,4 +1,6 @@
/*
+ * gui-color.c - color functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-color.c: color functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c
index 69e1c886a..00decef3a 100644
--- a/src/gui/gui-completion.c
+++ b/src/gui/gui-completion.c
@@ -1,4 +1,6 @@
/*
+ * gui-completion.c - word completion according to context (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-completion.c: word completion according to context (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-cursor.c b/src/gui/gui-cursor.c
index 5e484a722..968a68234 100644
--- a/src/gui/gui-cursor.c
+++ b/src/gui/gui-cursor.c
@@ -1,4 +1,6 @@
/*
+ * gui-cursor.c - functions for free movement of cursor (used by all GUI)
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-cursor.c: functions for free movement of cursor (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c
index 60cd8d2da..80b2e20f3 100644
--- a/src/gui/gui-filter.c
+++ b/src/gui/gui-filter.c
@@ -1,4 +1,6 @@
/*
+ * gui-filter.c - filter functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-filter.c: filter functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-focus.c b/src/gui/gui-focus.c
index 7ea9e7847..dc2fcd90d 100644
--- a/src/gui/gui-focus.c
+++ b/src/gui/gui-focus.c
@@ -1,4 +1,6 @@
/*
+ * gui-focus.c - functions about focus (cursor mode and mouse) (used by all GUI)
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-focus.c: functions about focus (for cursor mode and mouse) (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-history.c b/src/gui/gui-history.c
index 98d93f081..8939d0e2d 100644
--- a/src/gui/gui-history.c
+++ b/src/gui/gui-history.c
@@ -1,4 +1,6 @@
/*
+ * gui-history.c - memorize commands or text for buffers (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-history.c: memorize commands or text for buffers (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c
index 702e97e28..c0627e949 100644
--- a/src/gui/gui-hotlist.c
+++ b/src/gui/gui-hotlist.c
@@ -1,4 +1,6 @@
/*
+ * gui-hotlist.c - hotlist management (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-hotlist.c: hotlist management (list of buffers with activity)
- * (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c
index 35f825a3c..0193dc3d4 100644
--- a/src/gui/gui-input.c
+++ b/src/gui/gui-input.c
@@ -1,4 +1,6 @@
/*
+ * gui-input.c - input functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-input.c: input functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-key.c b/src/gui/gui-key.c
index 0b734cb2b..96e10ebc4 100644
--- a/src/gui/gui-key.c
+++ b/src/gui/gui-key.c
@@ -1,4 +1,6 @@
/*
+ * gui-key.c - keyboard functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-key.c: keyboard functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c
index 1267021c4..d9e1a839e 100644
--- a/src/gui/gui-layout.c
+++ b/src/gui/gui-layout.c
@@ -1,4 +1,6 @@
/*
+ * gui-layout.c - layout functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-layout.c: layout functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c
index c0e6c46e1..08ebf1855 100644
--- a/src/gui/gui-line.c
+++ b/src/gui/gui-line.c
@@ -1,4 +1,6 @@
/*
+ * gui-line.c - line functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-line.c: line functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-mouse.c b/src/gui/gui-mouse.c
index a2fa2f71e..b1f0a3d24 100644
--- a/src/gui/gui-mouse.c
+++ b/src/gui/gui-mouse.c
@@ -1,4 +1,6 @@
/*
+ * gui-mouse.c - functions for mouse (used by all GUI)
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-mouse.c: functions for mouse (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-nicklist.c b/src/gui/gui-nicklist.c
index b2181397a..246070ead 100644
--- a/src/gui/gui-nicklist.c
+++ b/src/gui/gui-nicklist.c
@@ -1,4 +1,6 @@
/*
+ * gui-nicklist.c - nicklist functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-nicklist.c: nicklist functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/gui/gui-window.c b/src/gui/gui-window.c
index 14e59e16a..348972ebf 100644
--- a/src/gui/gui-window.c
+++ b/src/gui/gui-window.c
@@ -1,4 +1,6 @@
/*
+ * gui-window.c - window functions (used by all GUI)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * gui-window.c: window functions (used by all GUI)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/plugins/alias/alias-config.c b/src/plugins/alias/alias-config.c
index d07d090dc..33b715241 100644
--- a/src/plugins/alias/alias-config.c
+++ b/src/plugins/alias/alias-config.c
@@ -1,4 +1,6 @@
/*
+ * alias-config.c - alias configuration options (file alias.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * alias-config.c: alias configuration options (file alias.conf)
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/alias/alias-info.c b/src/plugins/alias/alias-info.c
index 1244c65d9..415f46625 100644
--- a/src/plugins/alias/alias-info.c
+++ b/src/plugins/alias/alias-info.c
@@ -1,4 +1,6 @@
/*
+ * alias-info.c - info and infolist hooks for alias plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * alias-info.c: info and infolist hooks for alias plugin
- */
-
#include <stdlib.h>
#include "../weechat-plugin.h"
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c
index c319383fe..d2a6a92c3 100644
--- a/src/plugins/alias/alias.c
+++ b/src/plugins/alias/alias.c
@@ -1,4 +1,6 @@
/*
+ * alias.c - alias plugin for WeeChat: command aliases
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * alias.c: alias plugin for WeeChat: create "alias" commands to run other
- * commands
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/aspell/weechat-aspell-bar-item.c b/src/plugins/aspell/weechat-aspell-bar-item.c
index db968b6cb..578038882 100644
--- a/src/plugins/aspell/weechat-aspell-bar-item.c
+++ b/src/plugins/aspell/weechat-aspell-bar-item.c
@@ -1,4 +1,6 @@
/*
+ * weechat-aspell-bar-item.c - bar items for aspell plugin
+ *
* Copyright (C) 2012 Nils Görs <weechatter@arcor.de>
* Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-aspell-bar-item.c: bar items for aspell plugin
- */
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/aspell/weechat-aspell-config.c b/src/plugins/aspell/weechat-aspell-config.c
index 68c356eb1..be1d7919f 100644
--- a/src/plugins/aspell/weechat-aspell-config.c
+++ b/src/plugins/aspell/weechat-aspell-config.c
@@ -1,4 +1,6 @@
/*
+ * weechat-aspell-config.c - aspell configuration options (file aspell.conf)
+ *
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2006-2012 Sebastien Helleu <flashcode@flashtux.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-aspell-config.c: aspell configuration options (file aspell.conf)
- */
-
#include <stdlib.h>
#include <string.h>
#include <limits.h>
diff --git a/src/plugins/aspell/weechat-aspell-speller.c b/src/plugins/aspell/weechat-aspell-speller.c
index b295bd2ec..940615be6 100644
--- a/src/plugins/aspell/weechat-aspell-speller.c
+++ b/src/plugins/aspell/weechat-aspell-speller.c
@@ -1,4 +1,6 @@
/*
+ * weechat-aspell-speller.c - speller management for aspell plugin
+ *
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2006-2012 Sebastien Helleu <flashcode@flashtux.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-aspell-speller.c: speller management for aspell plugin
- */
-
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/aspell/weechat-aspell.c b/src/plugins/aspell/weechat-aspell.c
index 85cb228d7..2a7bd5827 100644
--- a/src/plugins/aspell/weechat-aspell.c
+++ b/src/plugins/aspell/weechat-aspell.c
@@ -1,4 +1,6 @@
/*
+ * weechat-aspell.c - aspell plugin for WeeChat: color for misspelled words
+ *
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2006-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2012 Nils Görs <weechatter@arcor.de>
@@ -19,11 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-aspell.c: aspell plugin for WeeChat: use color to show misspelled
- * words in input line
- */
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/charset/charset.c b/src/plugins/charset/charset.c
index dc3d403f6..a4a43d1cb 100644
--- a/src/plugins/charset/charset.c
+++ b/src/plugins/charset/charset.c
@@ -1,4 +1,6 @@
/*
+ * charset.c - charset plugin for WeeChat: encode/decode strings
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * charset.c: charset plugin for WeeChat: encode/decode strings to other
- * charset, depending on buffer
- */
-
#include <stdio.h>
#include <stdlib.h>
#ifndef __USE_GNU
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c
index 48626a94b..432a48922 100644
--- a/src/plugins/demo/demo.c
+++ b/src/plugins/demo/demo.c
@@ -1,4 +1,6 @@
/*
+ * demo.c - demo plugin for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * demo.c: demo plugin for WeeChat
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/fifo/fifo-info.c b/src/plugins/fifo/fifo-info.c
index 02e62a435..b841e94e4 100644
--- a/src/plugins/fifo/fifo-info.c
+++ b/src/plugins/fifo/fifo-info.c
@@ -1,4 +1,6 @@
/*
+ * fifo-info.c - info and infolist hooks for fifo plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * fifo-info.c: info and infolist hooks for fifo plugin
- */
-
#include <stdlib.h>
#include "../weechat-plugin.h"
diff --git a/src/plugins/fifo/fifo.c b/src/plugins/fifo/fifo.c
index 104a00e49..e7250e88b 100644
--- a/src/plugins/fifo/fifo.c
+++ b/src/plugins/fifo/fifo.c
@@ -1,4 +1,6 @@
/*
+ * fifo.c - fifo plugin for WeeChat: remote control with FIFO pipe
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * fifo.c: fifo plugin for WeeChat: remote control with FIFO pipe
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/guile/weechat-guile-api.c b/src/plugins/guile/weechat-guile-api.c
index c553ef445..73bf1dc36 100644
--- a/src/plugins/guile/weechat-guile-api.c
+++ b/src/plugins/guile/weechat-guile-api.c
@@ -1,4 +1,6 @@
/*
+ * weechat-guile-api.c - guile API functions
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2012 Simon Arlott
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-guile-api.c: guile API functions
- */
-
#undef _
#include <libguile.h>
diff --git a/src/plugins/guile/weechat-guile.c b/src/plugins/guile/weechat-guile.c
index f65b3e0bb..7cc0d192d 100644
--- a/src/plugins/guile/weechat-guile.c
+++ b/src/plugins/guile/weechat-guile.c
@@ -1,4 +1,6 @@
/*
+ * weechat-guile.c - guile (scheme) plugin for WeeChat
+ *
* Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-guile.c: guile (scheme) plugin for WeeChat
- */
-
#undef _
#include <libguile.h>
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c
index 8ca00a302..29a4e6b3d 100644
--- a/src/plugins/irc/irc-bar-item.c
+++ b/src/plugins/irc/irc-bar-item.c
@@ -1,4 +1,6 @@
/*
+ * irc-bar-item.c - bar items for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-bar-item.c: bar items for IRC plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-buffer.c b/src/plugins/irc/irc-buffer.c
index c87a784ea..e9d79021b 100644
--- a/src/plugins/irc/irc-buffer.c
+++ b/src/plugins/irc/irc-buffer.c
@@ -1,4 +1,6 @@
/*
+ * irc-buffer.c - buffer functions for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-buffer.c: buffer functions for IRC plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index 67e971817..018eed426 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -1,4 +1,6 @@
/*
+ * irc-channel.c - channel and private chat management for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-channel.c: channel and private chat management for IRC plugin
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c
index a3ffb19c1..b15fd5249 100644
--- a/src/plugins/irc/irc-color.c
+++ b/src/plugins/irc/irc-color.c
@@ -1,4 +1,6 @@
/*
+ * irc-color.c - IRC color decoding/encoding in messages
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-color.c: IRC color decoding/encoding in messages
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 2a8327e85..64a196c1a 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -1,4 +1,6 @@
/*
+ * irc-command.c - IRC commands
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-command.c: IRC commands
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-completion.c b/src/plugins/irc/irc-completion.c
index c98e4f083..882f7c34d 100644
--- a/src/plugins/irc/irc-completion.c
+++ b/src/plugins/irc/irc-completion.c
@@ -1,4 +1,6 @@
/*
+ * irc-completion.c - completion for IRC commands
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-completion.c: completion for IRC commands
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index d94c4ff96..97b448d8c 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -1,4 +1,6 @@
/*
+ * irc-config.c - IRC configuration options (file irc.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-config.c: IRC configuration options (file irc.conf)
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c
index bf9d2b7c3..c73f7da87 100644
--- a/src/plugins/irc/irc-ctcp.c
+++ b/src/plugins/irc/irc-ctcp.c
@@ -1,4 +1,6 @@
/*
+ * irc-ctcp.c - IRC CTCP protocol
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-ctcp.c: IRC CTCP protocol
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-debug.c b/src/plugins/irc/irc-debug.c
index 248a4ff31..9da282dcf 100644
--- a/src/plugins/irc/irc-debug.c
+++ b/src/plugins/irc/irc-debug.c
@@ -1,4 +1,6 @@
/*
+ * irc-debug.c - debug functions for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-debug.c: debug functions for IRC plugin
- */
-
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-display.c b/src/plugins/irc/irc-display.c
index acb7dd1bb..d428d0a9d 100644
--- a/src/plugins/irc/irc-display.c
+++ b/src/plugins/irc/irc-display.c
@@ -1,4 +1,6 @@
/*
+ * irc-display.c - display functions for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-display.c: display functions for IRC plugin
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/irc/irc-ignore.c b/src/plugins/irc/irc-ignore.c
index 37c43ab85..7d9a1a9c7 100644
--- a/src/plugins/irc/irc-ignore.c
+++ b/src/plugins/irc/irc-ignore.c
@@ -1,4 +1,6 @@
/*
+ * irc-ignore.c - ignore (nicks/hosts) management for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-ignore.c: ignore (nicks/hosts) management for IRC plugin
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c
index fc9be774b..0702558b2 100644
--- a/src/plugins/irc/irc-info.c
+++ b/src/plugins/irc/irc-info.c
@@ -1,4 +1,6 @@
/*
+ * irc-info.c - info, infolist and hdata hooks for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-info.c: info, infolist and hdata hooks for IRC plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c
index 063fae8d2..c2f87db32 100644
--- a/src/plugins/irc/irc-input.c
+++ b/src/plugins/irc/irc-input.c
@@ -1,4 +1,6 @@
/*
+ * irc-input.c - input data management for IRC buffers
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-input.c: input data management for IRC buffers
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-message.c b/src/plugins/irc/irc-message.c
index 2d6870649..c1cd85382 100644
--- a/src/plugins/irc/irc-message.c
+++ b/src/plugins/irc/irc-message.c
@@ -1,4 +1,6 @@
/*
+ * irc-message.c - functions for IRC messages
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-message.c: functions for IRC messages
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-mode.c b/src/plugins/irc/irc-mode.c
index dd496ce13..1ea11679b 100644
--- a/src/plugins/irc/irc-mode.c
+++ b/src/plugins/irc/irc-mode.c
@@ -1,4 +1,6 @@
/*
+ * irc-mode.c - IRC channel/user modes management
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-mode.c: IRC channel/user modes management
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-msgbuffer.c b/src/plugins/irc/irc-msgbuffer.c
index a65b5b6de..554883ac0 100644
--- a/src/plugins/irc/irc-msgbuffer.c
+++ b/src/plugins/irc/irc-msgbuffer.c
@@ -1,4 +1,6 @@
/*
+ * irc-msgbuffer.c - target buffer for IRC messages
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-msgbuffer.c: target buffer for IRC messages (weechat, current, private)
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c
index 0e2b21485..642532e84 100644
--- a/src/plugins/irc/irc-nick.c
+++ b/src/plugins/irc/irc-nick.c
@@ -1,4 +1,6 @@
/*
+ * irc-nick.c - nick management for IRC plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-nick.c: nick management for IRC plugin
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
diff --git a/src/plugins/irc/irc-notify.c b/src/plugins/irc/irc-notify.c
index 2af2b2e65..6c68a604a 100644
--- a/src/plugins/irc/irc-notify.c
+++ b/src/plugins/irc/irc-notify.c
@@ -1,4 +1,6 @@
/*
+ * irc-notify.c - notify lists for IRC plugin
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-notify.c: notify lists for IRC plugin
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 9eb236005..07aebcc4f 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -1,4 +1,6 @@
/*
+ * irc-protocol.c - implementation of IRC protocol (RFC 1459/2810/2811/2812)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,11 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-protocol.c: implementation of IRC protocol,
- * according to RFC 1459, 2810, 2811 and 2812
- */
-
/* this define is needed for strptime() (not on OpenBSD) */
#if !defined(__OpenBSD__)
#define _XOPEN_SOURCE 700
diff --git a/src/plugins/irc/irc-raw.c b/src/plugins/irc/irc-raw.c
index 095d0db3e..041039bb1 100644
--- a/src/plugins/irc/irc-raw.c
+++ b/src/plugins/irc/irc-raw.c
@@ -1,4 +1,6 @@
/*
+ * irc-raw.c - functions for IRC raw data messages
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-raw.c: functions for IRC raw data messages
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-redirect.c b/src/plugins/irc/irc-redirect.c
index d77861f25..6c26562be 100644
--- a/src/plugins/irc/irc-redirect.c
+++ b/src/plugins/irc/irc-redirect.c
@@ -1,4 +1,6 @@
/*
+ * irc-redirect.c - redirection of IRC command output
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-redirect.c: redirection of IRC command output
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
diff --git a/src/plugins/irc/irc-sasl.c b/src/plugins/irc/irc-sasl.c
index fe38e16ab..c3d87b0b4 100644
--- a/src/plugins/irc/irc-sasl.c
+++ b/src/plugins/irc/irc-sasl.c
@@ -1,4 +1,6 @@
/*
+ * irc-sasl.c - SASL authentication with IRC server
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-sasl.c: SASL authentication with IRC server,
- * using mechanisms PLAIN or DH-BLOWFISH
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 426615ceb..b38b9a9a9 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -1,4 +1,6 @@
/*
+ * irc-server.c - I/O communication with IRC servers
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2010 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2012 Simon Arlott
@@ -19,10 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-server.c: I/O communication with IRC servers
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
diff --git a/src/plugins/irc/irc-upgrade.c b/src/plugins/irc/irc-upgrade.c
index 94ff03340..e2ba4e184 100644
--- a/src/plugins/irc/irc-upgrade.c
+++ b/src/plugins/irc/irc-upgrade.c
@@ -1,4 +1,6 @@
/*
+ * irc-upgrade.c - save/restore IRC plugin data when upgrading WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc-upgrade.c: save/restore IRC plugin data when upgrading WeeChat
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c
index be16b6828..2efdaf381 100644
--- a/src/plugins/irc/irc.c
+++ b/src/plugins/irc/irc.c
@@ -1,4 +1,6 @@
/*
+ * irc.c - IRC (Internet Relay Chat) plugin for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * irc.c: IRC (Internet Relay Chat) plugin for WeeChat
- */
-
#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/src/plugins/logger/logger-buffer.c b/src/plugins/logger/logger-buffer.c
index 19f63ac67..ef7256ff7 100644
--- a/src/plugins/logger/logger-buffer.c
+++ b/src/plugins/logger/logger-buffer.c
@@ -1,4 +1,6 @@
/*
+ * logger-buffer.c - logger buffer list management
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * logger-buffer.c: logger buffer list management
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/plugins/logger/logger-config.c b/src/plugins/logger/logger-config.c
index f0778a5b5..790c4bd69 100644
--- a/src/plugins/logger/logger-config.c
+++ b/src/plugins/logger/logger-config.c
@@ -1,4 +1,6 @@
/*
+ * logger-config.c - logger configuration options (file logger.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * logger-config.c: logger configuration options (file logger.conf)
- */
-
#include <stdlib.h>
#include <limits.h>
diff --git a/src/plugins/logger/logger-info.c b/src/plugins/logger/logger-info.c
index 42b7d3f0c..c22abc6b0 100644
--- a/src/plugins/logger/logger-info.c
+++ b/src/plugins/logger/logger-info.c
@@ -1,4 +1,6 @@
/*
+ * logger-info.c - info and infolist hooks for logger plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * logger-info.c: info and infolist hooks for logger plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/plugins/logger/logger-tail.c b/src/plugins/logger/logger-tail.c
index 077ab5f25..3a9d61013 100644
--- a/src/plugins/logger/logger-tail.c
+++ b/src/plugins/logger/logger-tail.c
@@ -1,4 +1,6 @@
/*
+ * logger-tail.c - return last lines of a file
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * logger-tail.c: return last lines of a file
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c
index 48b4604b8..34e5994ee 100644
--- a/src/plugins/logger/logger.c
+++ b/src/plugins/logger/logger.c
@@ -1,4 +1,6 @@
/*
+ * logger.c - logger plugin for WeeChat: save buffer lines to disk files
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * logger.c: logger plugin for WeeChat: save buffer lines to disk files
- */
-
/* this define is needed for strptime() (not on OpenBSD) */
#if !defined(__OpenBSD__)
#define _XOPEN_SOURCE 700
diff --git a/src/plugins/lua/weechat-lua-api.c b/src/plugins/lua/weechat-lua-api.c
index 9460b563f..8d5cb7917 100644
--- a/src/plugins/lua/weechat-lua-api.c
+++ b/src/plugins/lua/weechat-lua-api.c
@@ -1,4 +1,6 @@
/*
+ * weechat-lua-api.c - lua API functions
+ *
* Copyright (C) 2006-2007 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2006-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2012 Simon Arlott
@@ -19,10 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-lua-api.c: lua API functions
- */
-
#undef _
#include <lua.h>
diff --git a/src/plugins/lua/weechat-lua.c b/src/plugins/lua/weechat-lua.c
index 86d43d576..d8a1ba7ff 100644
--- a/src/plugins/lua/weechat-lua.c
+++ b/src/plugins/lua/weechat-lua.c
@@ -1,4 +1,6 @@
/*
+ * weechat-lua.c - lua plugin for WeeChat
+ *
* Copyright (C) 2006-2007 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2006-2012 Sebastien Helleu <flashcode@flashtux.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-lua.c: lua plugin for WeeChat
- */
-
#undef _
#include <lua.h>
diff --git a/src/plugins/perl/weechat-perl-api.c b/src/plugins/perl/weechat-perl-api.c
index 6cb56d87d..2c063dbca 100644
--- a/src/plugins/perl/weechat-perl-api.c
+++ b/src/plugins/perl/weechat-perl-api.c
@@ -1,4 +1,6 @@
/*
+ * weechat-perl-api.c - perl API functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2008 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2012 Simon Arlott
@@ -19,10 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-perl-api.c: perl API functions
- */
-
#undef _
#include <EXTERN.h>
diff --git a/src/plugins/perl/weechat-perl.c b/src/plugins/perl/weechat-perl.c
index c4c67ba08..1e4790c5e 100644
--- a/src/plugins/perl/weechat-perl.c
+++ b/src/plugins/perl/weechat-perl.c
@@ -1,4 +1,6 @@
/*
+ * weechat-perl.c - perl plugin for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2008 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-perl.c: perl plugin for WeeChat
- */
-
#undef _
#include <EXTERN.h>
diff --git a/src/plugins/plugin-api.c b/src/plugins/plugin-api.c
index 7205db6ff..e62f1fce4 100644
--- a/src/plugins/plugin-api.c
+++ b/src/plugins/plugin-api.c
@@ -1,4 +1,6 @@
/*
+ * plugin-api.c - extra functions for plugin API
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * plugin-api.c: extra functions for plugin API
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/plugins/plugin-config.c b/src/plugins/plugin-config.c
index 30a48f23f..a3f708348 100644
--- a/src/plugins/plugin-config.c
+++ b/src/plugins/plugin-config.c
@@ -1,4 +1,6 @@
/*
+ * plugin-config.c - plugin configuration options (file plugins.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * plugin-config.c: plugin configuration options (file plugins.conf)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/plugins/plugin-script-api.c b/src/plugins/plugin-script-api.c
index 91c7745a1..52dc76933 100644
--- a/src/plugins/plugin-script-api.c
+++ b/src/plugins/plugin-script-api.c
@@ -1,4 +1,6 @@
/*
+ * script-api.c - script API functions, used by script plugins
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2012 Simon Arlott
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-api.c: script API functions, used by script plugins (perl/python/..)
- */
-
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
diff --git a/src/plugins/plugin-script-callback.c b/src/plugins/plugin-script-callback.c
index d3ca8b8cf..d6a767f12 100644
--- a/src/plugins/plugin-script-callback.c
+++ b/src/plugins/plugin-script-callback.c
@@ -1,4 +1,6 @@
/*
+ * script-callback.c - script callbacks management
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-callback.c: script callbacks management
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
diff --git a/src/plugins/plugin-script.c b/src/plugins/plugin-script.c
index 9ca16f430..024e1dae9 100644
--- a/src/plugins/plugin-script.c
+++ b/src/plugins/plugin-script.c
@@ -1,4 +1,6 @@
/*
+ * plugin-script.c - common functions used by script plugins
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * plugin-script.c: common functions used by script plugins (perl/python/..)
- */
-
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 63a788dba..871e64d66 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -1,4 +1,6 @@
/*
+ * plugin.c - WeeChat plugins management (load/unload dynamic C libraries)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * plugin.c: WeeChat plugins management (load/unload dynamic C libraries)
- */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/src/plugins/python/weechat-python-api.c b/src/plugins/python/weechat-python-api.c
index a11e82712..1afb65254 100644
--- a/src/plugins/python/weechat-python-api.c
+++ b/src/plugins/python/weechat-python-api.c
@@ -1,4 +1,6 @@
/*
+ * weechat-python-api.c - python API functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2012 Simon Arlott
@@ -19,10 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-python-api.c: python API functions
- */
-
#undef _
#include <Python.h>
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c
index 244a0b355..30d2eb7bd 100644
--- a/src/plugins/python/weechat-python.c
+++ b/src/plugins/python/weechat-python.c
@@ -1,4 +1,6 @@
/*
+ * weechat-python.c - python plugin for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2012 Simon Arlott
@@ -19,10 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-python.c: python plugin for WeeChat
- */
-
#undef _
#include <Python.h>
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c
index e163069dc..e94724ebd 100644
--- a/src/plugins/relay/irc/relay-irc.c
+++ b/src/plugins/relay/irc/relay-irc.c
@@ -1,4 +1,6 @@
/*
+ * relay-irc.c - IRC protocol for relay to client: IRC proxy/bouncer
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-irc.c: IRC protocol for relay to client
- * (relay acting as an IRC proxy/bouncer)
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/relay/relay-buffer.c b/src/plugins/relay/relay-buffer.c
index fbd412a8f..5012b7325 100644
--- a/src/plugins/relay/relay-buffer.c
+++ b/src/plugins/relay/relay-buffer.c
@@ -1,4 +1,6 @@
/*
+ * relay-buffer.c - display clients list on relay buffer
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-buffer.c: display clients list on relay buffer
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c
index ac5ee65e3..0d326b637 100644
--- a/src/plugins/relay/relay-client.c
+++ b/src/plugins/relay/relay-client.c
@@ -1,4 +1,6 @@
/*
+ * relay-client.c - client functions for relay plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-client.c: client functions for relay plugin
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c
index a530ad32a..9b5b9325c 100644
--- a/src/plugins/relay/relay-command.c
+++ b/src/plugins/relay/relay-command.c
@@ -1,4 +1,6 @@
/*
+ * relay-command.c - relay command
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-command.c: relay command
- */
-
#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/src/plugins/relay/relay-completion.c b/src/plugins/relay/relay-completion.c
index fa1bdb9aa..ca33a89aa 100644
--- a/src/plugins/relay/relay-completion.c
+++ b/src/plugins/relay/relay-completion.c
@@ -1,4 +1,6 @@
/*
+ * relay-completion.c - completion for relay command
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-completion.c: completion for relay command
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index 12db7d0f6..2f66e23b8 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -1,4 +1,6 @@
/*
+ * relay-config.c - relay configuration options (file relay.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-config.c: relay configuration options (file relay.conf)
- */
-
#include <stdlib.h>
#include <limits.h>
#include <regex.h>
diff --git a/src/plugins/relay/relay-info.c b/src/plugins/relay/relay-info.c
index fdd05fa65..4514a23f7 100644
--- a/src/plugins/relay/relay-info.c
+++ b/src/plugins/relay/relay-info.c
@@ -1,4 +1,6 @@
/*
+ * relay-info.c - info and infolist hooks for relay plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-info.c: info and infolist hooks for relay plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/plugins/relay/relay-network.c b/src/plugins/relay/relay-network.c
index 48606f0eb..470ff49a9 100644
--- a/src/plugins/relay/relay-network.c
+++ b/src/plugins/relay/relay-network.c
@@ -1,4 +1,6 @@
/*
+ * relay-network.c - network functions for relay plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-network.c: network functions for relay plugin
- */
-
#include <stdlib.h>
#ifdef HAVE_GNUTLS
diff --git a/src/plugins/relay/relay-raw.c b/src/plugins/relay/relay-raw.c
index b689d7c31..3e3c2fbcc 100644
--- a/src/plugins/relay/relay-raw.c
+++ b/src/plugins/relay/relay-raw.c
@@ -1,4 +1,6 @@
/*
+ * relay-raw.c - functions for Relay raw data messages
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-raw.c: functions for Relay raw data messages
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/src/plugins/relay/relay-server.c b/src/plugins/relay/relay-server.c
index e7cc36dbe..00d8f23cd 100644
--- a/src/plugins/relay/relay-server.c
+++ b/src/plugins/relay/relay-server.c
@@ -1,4 +1,6 @@
/*
+ * relay-server.c - server functions for relay plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-server.c: server functions for relay plugin
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/relay/relay-upgrade.c b/src/plugins/relay/relay-upgrade.c
index f18a18a90..dadbfc5ac 100644
--- a/src/plugins/relay/relay-upgrade.c
+++ b/src/plugins/relay/relay-upgrade.c
@@ -1,4 +1,6 @@
/*
+ * relay-upgrade.c - save/restore relay plugin data when upgrading WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-upgrade.c: save/restore relay plugin data when upgrading WeeChat
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/relay/relay.c b/src/plugins/relay/relay.c
index 2d73ddc5a..b5c3c4c16 100644
--- a/src/plugins/relay/relay.c
+++ b/src/plugins/relay/relay.c
@@ -1,4 +1,6 @@
/*
+ * relay.c - network communication between WeeChat and remote client
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay.c: network communication between WeeChat and remote client
- */
-
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/relay/weechat/relay-weechat-msg.c b/src/plugins/relay/weechat/relay-weechat-msg.c
index f550074da..741059473 100644
--- a/src/plugins/relay/weechat/relay-weechat-msg.c
+++ b/src/plugins/relay/weechat/relay-weechat-msg.c
@@ -1,4 +1,6 @@
/*
+ * relay-weechat-msg.c - build binary messages for WeeChat protocol
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-weechat-msg.c: build binary messages for WeeChat protocol
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.c b/src/plugins/relay/weechat/relay-weechat-protocol.c
index b3f79b257..a25cfa967 100644
--- a/src/plugins/relay/weechat/relay-weechat-protocol.c
+++ b/src/plugins/relay/weechat/relay-weechat-protocol.c
@@ -1,4 +1,6 @@
/*
+ * relay-weechat-protocol.c - WeeChat protocol for relay to client
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-weechat-protocol.c: WeeChat protocol for relay to client
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/relay/weechat/relay-weechat.c b/src/plugins/relay/weechat/relay-weechat.c
index 6453697f2..4a9042de8 100644
--- a/src/plugins/relay/weechat/relay-weechat.c
+++ b/src/plugins/relay/weechat/relay-weechat.c
@@ -1,4 +1,6 @@
/*
+ * relay-weechat.c - WeeChat protocol for relay to client
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * relay-weechat.c: WeeChat protocol for relay to client
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/rmodifier/rmodifier-command.c b/src/plugins/rmodifier/rmodifier-command.c
index 6a4bfd470..1ab06127d 100644
--- a/src/plugins/rmodifier/rmodifier-command.c
+++ b/src/plugins/rmodifier/rmodifier-command.c
@@ -1,4 +1,6 @@
/*
+ * rmodifier-command.c - rmodifier command
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * rmodifier-command.c: rmodifier command
- */
-
#include <stdlib.h>
#include "../weechat-plugin.h"
diff --git a/src/plugins/rmodifier/rmodifier-completion.c b/src/plugins/rmodifier/rmodifier-completion.c
index cbf4feb88..d32d583f0 100644
--- a/src/plugins/rmodifier/rmodifier-completion.c
+++ b/src/plugins/rmodifier/rmodifier-completion.c
@@ -1,4 +1,6 @@
/*
+ * rmodifier-completion.c - completion for rmodifier command
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * rmodifier-completion.c: completion for rmodifier command
- */
-
#include <stdlib.h>
#include "../weechat-plugin.h"
diff --git a/src/plugins/rmodifier/rmodifier-config.c b/src/plugins/rmodifier/rmodifier-config.c
index d3842a180..44f6ca784 100644
--- a/src/plugins/rmodifier/rmodifier-config.c
+++ b/src/plugins/rmodifier/rmodifier-config.c
@@ -1,4 +1,6 @@
/*
+ * rmodifier-config.c - rmodifier configuration options (file rmodifier.conf)
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * rmodifier-config.c: rmodifier configuration options (file rmodifier.conf)
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/rmodifier/rmodifier-debug.c b/src/plugins/rmodifier/rmodifier-debug.c
index 9be70c560..aa5574504 100644
--- a/src/plugins/rmodifier/rmodifier-debug.c
+++ b/src/plugins/rmodifier/rmodifier-debug.c
@@ -1,4 +1,6 @@
/*
+ * rmodifier-debug.c - debug functions for rmodifier plugin
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * rmodifier-debug.c: debug functions for rmodifier plugin
- */
-
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/rmodifier/rmodifier-info.c b/src/plugins/rmodifier/rmodifier-info.c
index 21eadfee1..45c4cf309 100644
--- a/src/plugins/rmodifier/rmodifier-info.c
+++ b/src/plugins/rmodifier/rmodifier-info.c
@@ -1,4 +1,6 @@
/*
+ * rmodifier-info.c - info and infolist hooks for rmodifier plugin
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * rmodifier-info.c: info and infolist hooks for rmodifier plugin
- */
-
#include <stdlib.h>
#include "../weechat-plugin.h"
diff --git a/src/plugins/rmodifier/rmodifier.c b/src/plugins/rmodifier/rmodifier.c
index 76853a81d..7c1063d22 100644
--- a/src/plugins/rmodifier/rmodifier.c
+++ b/src/plugins/rmodifier/rmodifier.c
@@ -1,4 +1,6 @@
/*
+ * rmodifier.c - alter modifier strings with regular expressions
+ *
* Copyright (C) 2010-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * rmodifier.c: alter modifier strings with regular expressions
- * (useful for hiding passwords in input or command history)
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/ruby/weechat-ruby-api.c b/src/plugins/ruby/weechat-ruby-api.c
index f59ee3ded..78aff4994 100644
--- a/src/plugins/ruby/weechat-ruby-api.c
+++ b/src/plugins/ruby/weechat-ruby-api.c
@@ -1,4 +1,6 @@
/*
+ * weechat-ruby-api.c - ruby API functions
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
* Copyright (C) 2012 Simon Arlott
@@ -19,10 +21,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-ruby-api.c: ruby API functions
- */
-
#undef _
#include <ruby.h>
diff --git a/src/plugins/ruby/weechat-ruby.c b/src/plugins/ruby/weechat-ruby.c
index efea7116c..987d2667c 100644
--- a/src/plugins/ruby/weechat-ruby.c
+++ b/src/plugins/ruby/weechat-ruby.c
@@ -1,4 +1,6 @@
/*
+ * weechat-ruby.c - ruby plugin for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-ruby.c: ruby plugin for WeeChat
- */
-
#undef _
#include <ruby.h>
diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c
index 546bc0ec2..75fba9eef 100644
--- a/src/plugins/script/script-action.c
+++ b/src/plugins/script/script-action.c
@@ -1,4 +1,6 @@
/*
+ * script-action.c - actions on scripts
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-action.c: actions on scripts (load/unload, install/remove, hold, ...)
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
diff --git a/src/plugins/script/script-buffer.c b/src/plugins/script/script-buffer.c
index 61f3e32c4..b732ab8d4 100644
--- a/src/plugins/script/script-buffer.c
+++ b/src/plugins/script/script-buffer.c
@@ -1,4 +1,6 @@
/*
+ * script-buffer.c - display scripts on script buffer
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-buffer.c: display scripts on script buffer
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/script/script-command.c b/src/plugins/script/script-command.c
index c874ab02f..2631e3636 100644
--- a/src/plugins/script/script-command.c
+++ b/src/plugins/script/script-command.c
@@ -1,4 +1,6 @@
/*
+ * script-command.c - script command
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-command.c: script commands
- */
-
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
diff --git a/src/plugins/script/script-completion.c b/src/plugins/script/script-completion.c
index a4e080c00..299bfbef1 100644
--- a/src/plugins/script/script-completion.c
+++ b/src/plugins/script/script-completion.c
@@ -1,4 +1,6 @@
/*
+ * script-completion.c - completions for script command
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-completion.c: completion for script commands
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c
index a8519241b..2129974db 100644
--- a/src/plugins/script/script-config.c
+++ b/src/plugins/script/script-config.c
@@ -1,4 +1,6 @@
/*
+ * script-config.c - script configuration options (file script.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-config.c: script configuration options (file script.conf)
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/script/script-info.c b/src/plugins/script/script-info.c
index aed5b487c..23f0111bd 100644
--- a/src/plugins/script/script-info.c
+++ b/src/plugins/script/script-info.c
@@ -1,4 +1,6 @@
/*
+ * script-info.c - info, infolist and hdata hooks for script plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script-info.c: info, infolist and hdata hooks for script plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c
index f22462c9e..d7f9e280f 100644
--- a/src/plugins/script/script-repo.c
+++ b/src/plugins/script/script-repo.c
@@ -1,4 +1,6 @@
/*
+ * script-repo.c - download and read repository file (plugins.xml.gz)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -18,10 +20,6 @@
*/
/*
- * script-repo.c: download and read repository file (plugins.xml.gz)
- */
-
-/*
* this define is needed for strptime()
* but is not used for OpenBSD, it causes bug with gcrypt (see bug #37373)
*/
diff --git a/src/plugins/script/script.c b/src/plugins/script/script.c
index df827263e..570154b12 100644
--- a/src/plugins/script/script.c
+++ b/src/plugins/script/script.c
@@ -1,4 +1,6 @@
/*
+ * script.c - scripts manager for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * script.c: scripts manager for WeeChat
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/tcl/weechat-tcl-api.c b/src/plugins/tcl/weechat-tcl-api.c
index 5a0ed7454..5cf92319e 100644
--- a/src/plugins/tcl/weechat-tcl-api.c
+++ b/src/plugins/tcl/weechat-tcl-api.c
@@ -1,4 +1,6 @@
/*
+ * weechat-tcl-api.c - tcl API functions
+ *
* Copyright (C) 2008-2010 Dmitry Kobylin <fnfal@academ.tsc.ru>
* Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
* Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
@@ -20,10 +22,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-tcl-api.c: tcl API functions
- */
-
#undef _
#include <tcl.h>
diff --git a/src/plugins/tcl/weechat-tcl.c b/src/plugins/tcl/weechat-tcl.c
index aec7ffc54..bdac598b5 100644
--- a/src/plugins/tcl/weechat-tcl.c
+++ b/src/plugins/tcl/weechat-tcl.c
@@ -1,4 +1,6 @@
/*
+ * weechat-tcl.c - tcl plugin for WeeChat
+ *
* Copyright (C) 2008-2010 Dmitry Kobylin <fnfal@academ.tsc.ru>
* Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
*
@@ -18,10 +20,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-tcl.c: tcl plugin for WeeChat
- */
-
#undef _
#include <tcl.h>
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h
index 189d0dd8a..66fdbcc7c 100644
--- a/src/plugins/weechat-plugin.h
+++ b/src/plugins/weechat-plugin.h
@@ -1,4 +1,6 @@
/*
+ * weechat-plugin.h - header to compile WeeChat plugins
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,11 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * weechat-plugin.h: this header is designed to be distributed with
- * WeeChat plugins, in order to compile them
- */
-
#ifndef __WEECHAT_WEECHAT_PLUGIN_H
#define __WEECHAT_WEECHAT_PLUGIN_H 1
diff --git a/src/plugins/xfer/xfer-buffer.c b/src/plugins/xfer/xfer-buffer.c
index fed1d6cb0..0b9ca869f 100644
--- a/src/plugins/xfer/xfer-buffer.c
+++ b/src/plugins/xfer/xfer-buffer.c
@@ -1,4 +1,6 @@
/*
+ * xfer-buffer.c - display xfer list on xfer buffer
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-buffer.c: display xfer list on xfer buffer
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/xfer/xfer-chat.c b/src/plugins/xfer/xfer-chat.c
index 4416e2381..0ee672c9f 100644
--- a/src/plugins/xfer/xfer-chat.c
+++ b/src/plugins/xfer/xfer-chat.c
@@ -1,4 +1,6 @@
/*
+ * xfer-chat.c - chat with direct connection to remote host
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-chat.c: chat with direct connection to remote host
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/src/plugins/xfer/xfer-command.c b/src/plugins/xfer/xfer-command.c
index 807079ad7..44cec54f9 100644
--- a/src/plugins/xfer/xfer-command.c
+++ b/src/plugins/xfer/xfer-command.c
@@ -1,4 +1,6 @@
/*
+ * xfer-command.c - xfer command
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-command.c: xfer command
- */
-
#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/src/plugins/xfer/xfer-completion.c b/src/plugins/xfer/xfer-completion.c
index d537c3c51..f060927e9 100644
--- a/src/plugins/xfer/xfer-completion.c
+++ b/src/plugins/xfer/xfer-completion.c
@@ -1,4 +1,6 @@
/*
+ * xfer-completion.c - nick completion for xfer chats
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-completion.c: nick completion for xfer chats
- */
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index ebbd88cd2..b2ac86178 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -1,4 +1,6 @@
/*
+ * xfer-config.c - xfer configuration options (file xfer.conf)
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-config.c: xfer configuration options (file xfer.conf)
- */
-
#include <stdlib.h>
#include <limits.h>
diff --git a/src/plugins/xfer/xfer-dcc.c b/src/plugins/xfer/xfer-dcc.c
index fc8c702c4..49a8a6a63 100644
--- a/src/plugins/xfer/xfer-dcc.c
+++ b/src/plugins/xfer/xfer-dcc.c
@@ -1,4 +1,6 @@
/*
+ * xfer-dcc.c - file transfer via DCC protocol
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-dcc.c: file transfer via DCC protocol
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
diff --git a/src/plugins/xfer/xfer-file.c b/src/plugins/xfer/xfer-file.c
index e8338e010..56309fc03 100644
--- a/src/plugins/xfer/xfer-file.c
+++ b/src/plugins/xfer/xfer-file.c
@@ -1,4 +1,6 @@
/*
+ * xfer-file.c - file functions for xfer plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-file.c: file functions for xfer plugin
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/xfer/xfer-info.c b/src/plugins/xfer/xfer-info.c
index 9276bd452..9e648d67d 100644
--- a/src/plugins/xfer/xfer-info.c
+++ b/src/plugins/xfer/xfer-info.c
@@ -1,4 +1,6 @@
/*
+ * xfer-info.c - info and infolist hooks for xfer plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-info.c: info and infolist hooks for xfer plugin
- */
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c
index 78dc2b019..1252713cc 100644
--- a/src/plugins/xfer/xfer-network.c
+++ b/src/plugins/xfer/xfer-network.c
@@ -1,4 +1,6 @@
/*
+ * xfer-network.c - network functions for xfer plugin
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-network.c: network functions for xfer plugin
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/src/plugins/xfer/xfer-upgrade.c b/src/plugins/xfer/xfer-upgrade.c
index fe0137e10..a948470d3 100644
--- a/src/plugins/xfer/xfer-upgrade.c
+++ b/src/plugins/xfer/xfer-upgrade.c
@@ -1,4 +1,6 @@
/*
+ * xfer-upgrade.c - save/restore xfer plugin data when upgrading WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer-upgrade.c: save/restore xfer plugin data when upgrading WeeChat
- */
-
#include <stdlib.h>
#include <string.h>
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c
index f9f099b4a..f45cb7688 100644
--- a/src/plugins/xfer/xfer.c
+++ b/src/plugins/xfer/xfer.c
@@ -1,4 +1,6 @@
/*
+ * xfer.c - file transfer and direct chat plugin for WeeChat
+ *
* Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -17,10 +19,6 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-/*
- * xfer.c: file transfer and direct chat plugin for WeeChat
- */
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>