1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +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,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_ACTION_H
#define WEECHAT_SCRIPT_ACTION_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_ACTION_H
#define WEECHAT_PLUGIN_SCRIPT_ACTION_H
extern char *script_actions;
@@ -26,4 +26,4 @@ extern int script_action_run ();
extern void script_action_schedule (const char *action, int need_repository,
int quiet);
#endif /* WEECHAT_SCRIPT_ACTION_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_ACTION_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_BUFFER_H
#define WEECHAT_SCRIPT_BUFFER_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_BUFFER_H
#define WEECHAT_PLUGIN_SCRIPT_BUFFER_H
#define SCRIPT_BUFFER_NAME "scripts"
@@ -50,4 +50,4 @@ extern void script_buffer_set_keys ();
extern void script_buffer_set_localvar_filter ();
extern void script_buffer_open ();
#endif /* WEECHAT_SCRIPT_BUFFER_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_BUFFER_H */
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_COMMAND_H
#define WEECHAT_SCRIPT_COMMAND_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_COMMAND_H
#define WEECHAT_PLUGIN_SCRIPT_COMMAND_H
extern void script_command_init ();
#endif /* WEECHAT_SCRIPT_COMMAND_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_COMMAND_H */
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_COMPLETION_H
#define WEECHAT_SCRIPT_COMPLETION_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_COMPLETION_H
#define WEECHAT_PLUGIN_SCRIPT_COMPLETION_H
extern void script_completion_init ();
#endif /* WEECHAT_SCRIPT_COMPLETION_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_COMPLETION_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_CONFIG_H
#define WEECHAT_SCRIPT_CONFIG_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_CONFIG_H
#define WEECHAT_PLUGIN_SCRIPT_CONFIG_H
#define SCRIPT_CONFIG_NAME "script"
@@ -78,4 +78,4 @@ extern int script_config_read ();
extern int script_config_write ();
extern void script_config_free ();
#endif /* WEECHAT_SCRIPT_CONFIG_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_CONFIG_H */
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_INFO_H
#define WEECHAT_SCRIPT_INFO_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_INFO_H
#define WEECHAT_PLUGIN_SCRIPT_INFO_H
extern void script_info_init ();
#endif /* WEECHAT_SCRIPT_INFO_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_INFO_H */
+3 -3
View File
@@ -17,10 +17,10 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_MOUSE_H
#define WEECHAT_SCRIPT_MOUSE_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_MOUSE_H
#define WEECHAT_PLUGIN_SCRIPT_MOUSE_H
extern int script_mouse_init ();
extern void script_mouse_end ();
#endif /* WEECHAT_SCRIPT_MOUSE_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_MOUSE_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_REPO_H
#define WEECHAT_SCRIPT_REPO_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_REPO_H
#define WEECHAT_PLUGIN_SCRIPT_REPO_H
#include <time.h>
@@ -88,4 +88,4 @@ extern int script_repo_add_to_infolist (struct t_infolist *infolist,
struct t_script_repo *script);
extern void script_repo_print_log ();
#endif /* WEECHAT_SCRIPT_REPO_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_REPO_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_SCRIPT_H
#define WEECHAT_SCRIPT_H 1
#ifndef WEECHAT_PLUGIN_SCRIPT_H
#define WEECHAT_PLUGIN_SCRIPT_H
#define weechat_plugin weechat_script_plugin
#define SCRIPT_PLUGIN_NAME "script"
@@ -38,4 +38,4 @@ extern char *script_build_download_url (const char *url);
extern void script_get_loaded_plugins ();
extern void script_get_scripts ();
#endif /* WEECHAT_SCRIPT_H */
#endif /* WEECHAT_PLUGIN_SCRIPT_H */