mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_BAR_ITEM_H
|
||||
#define WEECHAT_FSET_BAR_ITEM_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_BAR_ITEM_H
|
||||
#define WEECHAT_PLUGIN_FSET_BAR_ITEM_H
|
||||
|
||||
#define FSET_BAR_ITEM_NAME "fset"
|
||||
|
||||
@@ -26,4 +26,4 @@ extern void fset_bar_item_update ();
|
||||
extern int fset_bar_item_init ();
|
||||
extern void fset_bar_item_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_BAR_ITEM_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_BAR_ITEM_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_BUFFER_H
|
||||
#define WEECHAT_FSET_BUFFER_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_BUFFER_H
|
||||
#define WEECHAT_PLUGIN_FSET_BUFFER_H
|
||||
|
||||
#define FSET_BUFFER_NAME "fset"
|
||||
|
||||
@@ -43,4 +43,4 @@ extern void fset_buffer_open ();
|
||||
extern int fset_buffer_init ();
|
||||
extern void fset_buffer_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_BUFFER_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_BUFFER_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_COMMAND_H
|
||||
#define WEECHAT_FSET_COMMAND_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_COMMAND_H
|
||||
#define WEECHAT_PLUGIN_FSET_COMMAND_H
|
||||
|
||||
extern void fset_command_init ();
|
||||
|
||||
#endif /* WEECHAT_FSET_COMMAND_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_COMMAND_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_COMPLETION_H
|
||||
#define WEECHAT_FSET_COMPLETION_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_COMPLETION_H
|
||||
#define WEECHAT_PLUGIN_FSET_COMPLETION_H
|
||||
|
||||
extern void fset_completion_init ();
|
||||
|
||||
#endif /* WEECHAT_FSET_COMPLETION_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_COMPLETION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_CONFIG_H
|
||||
#define WEECHAT_FSET_CONFIG_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_CONFIG_H
|
||||
#define WEECHAT_PLUGIN_FSET_CONFIG_H
|
||||
|
||||
#define FSET_CONFIG_NAME "fset"
|
||||
|
||||
@@ -88,4 +88,4 @@ extern int fset_config_read ();
|
||||
extern int fset_config_write ();
|
||||
extern void fset_config_free ();
|
||||
|
||||
#endif /* WEECHAT_FSET_CONFIG_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_CONFIG_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_INFO_H
|
||||
#define WEECHAT_FSET_INFO_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_INFO_H
|
||||
#define WEECHAT_PLUGIN_FSET_INFO_H
|
||||
|
||||
extern void fset_info_init ();
|
||||
|
||||
#endif /* WEECHAT_FSET_INFO_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_INFO_H */
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_MOUSE_H
|
||||
#define WEECHAT_FSET_MOUSE_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_MOUSE_H
|
||||
#define WEECHAT_PLUGIN_FSET_MOUSE_H
|
||||
|
||||
#define FSET_MOUSE_HSIGNAL "fset_mouse"
|
||||
|
||||
extern int fset_mouse_init ();
|
||||
extern void fset_mouse_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_MOUSE_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_MOUSE_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_OPTION_H
|
||||
#define WEECHAT_FSET_OPTION_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_OPTION_H
|
||||
#define WEECHAT_PLUGIN_FSET_OPTION_H
|
||||
|
||||
#define FSET_OPTION_VALUE_NULL "null"
|
||||
|
||||
@@ -129,4 +129,4 @@ extern void fset_option_print_log ();
|
||||
extern int fset_option_init ();
|
||||
extern void fset_option_end ();
|
||||
|
||||
#endif /* WEECHAT_FSET_OPTION_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_OPTION_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_FSET_H
|
||||
#define WEECHAT_FSET_H 1
|
||||
#ifndef WEECHAT_PLUGIN_FSET_H
|
||||
#define WEECHAT_PLUGIN_FSET_H
|
||||
|
||||
#define weechat_plugin weechat_fset_plugin
|
||||
#define FSET_PLUGIN_NAME "fset"
|
||||
@@ -34,4 +34,4 @@ extern struct t_hdata *fset_hdata_fset_option;
|
||||
|
||||
extern void fset_add_bar ();
|
||||
|
||||
#endif /* WEECHAT_FSET_H */
|
||||
#endif /* WEECHAT_PLUGIN_FSET_H */
|
||||
|
||||
Reference in New Issue
Block a user