1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

core: remove value for first #define in headers, add "PLUGIN" in plugin headers

This commit is contained in:
Sébastien Helleu
2017-08-10 20:05:16 +02:00
parent c58716809c
commit 9bad3f44db
176 changed files with 430 additions and 430 deletions
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_BAR_ITEM_H
#define WEECHAT_ASPELL_BAR_ITEM_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H
#define WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H
extern void weechat_aspell_bar_item_init ();
#endif /* WEECHAT_ASPELL_BAR_ITEM_H */
#endif /* WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H */
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_COMMAND_H
#define WEECHAT_ASPELL_COMMAND_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_COMMAND_H
#define WEECHAT_PLUGIN_ASPELL_COMMAND_H
extern void weechat_aspell_command_init ();
#endif /* WEECHAT_ASPELL_COMMAND_H */
#endif /* WEECHAT_PLUGIN_ASPELL_COMMAND_H */
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_COMPLETION_H
#define WEECHAT_ASPELL_COMPLETION_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_COMPLETION_H
#define WEECHAT_PLUGIN_ASPELL_COMPLETION_H
extern void weechat_aspell_completion_init ();
#endif /* WEECHAT_ASPELL_COMPLETION_H */
#endif /* WEECHAT_PLUGIN_ASPELL_COMPLETION_H */
+3 -3
View File
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_CONFIG_H
#define WEECHAT_ASPELL_CONFIG_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_CONFIG_H
#define WEECHAT_PLUGIN_ASPELL_CONFIG_H
#define ASPELL_CONFIG_NAME "aspell"
@@ -51,4 +51,4 @@ extern int weechat_aspell_config_read ();
extern int weechat_aspell_config_write ();
extern void weechat_aspell_config_free ();
#endif /* WEECHAT_ASPELL_CONFIG_H */
#endif /* WEECHAT_PLUGIN_ASPELL_CONFIG_H */
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_INFO_H
#define WEECHAT_ASPELL_INFO_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_INFO_H
#define WEECHAT_PLUGIN_ASPELL_INFO_H
extern void weechat_aspell_info_init ();
#endif /* WEECHAT_ASPELL_INFO_H */
#endif /* WEECHAT_PLUGIN_ASPELL_INFO_H */
+3 -3
View File
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_SPELLER_H
#define WEECHAT_ASPELL_SPELLER_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_SPELLER_H
#define WEECHAT_PLUGIN_ASPELL_SPELLER_H
struct t_aspell_speller_buffer
{
@@ -48,4 +48,4 @@ extern struct t_aspell_speller_buffer *weechat_aspell_speller_buffer_new (struct
extern int weechat_aspell_speller_init ();
extern void weechat_aspell_speller_end ();
#endif /* WEECHAT_ASPELL_SPELLER_H */
#endif /* WEECHAT_PLUGIN_ASPELL_SPELLER_H */
+3 -3
View File
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_ASPELL_H
#define WEECHAT_ASPELL_H 1
#ifndef WEECHAT_PLUGIN_ASPELL_H
#define WEECHAT_PLUGIN_ASPELL_H
#ifdef USE_ENCHANT
#include <enchant.h>
@@ -49,4 +49,4 @@ extern char *weechat_aspell_build_option_name (struct t_gui_buffer *buffer);
extern const char *weechat_aspell_get_dict_with_buffer_name (const char *name);
extern const char *weechat_aspell_get_dict (struct t_gui_buffer *buffer);
#endif /* WEECHAT_ASPELL_H */
#endif /* WEECHAT_PLUGIN_ASPELL_H */