1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +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_EXEC_BUFFER_H
#define WEECHAT_EXEC_BUFFER_H 1
#ifndef WEECHAT_PLUGIN_EXEC_BUFFER_H
#define WEECHAT_PLUGIN_EXEC_BUFFER_H
extern void exec_buffer_set_callbacks ();
extern struct t_gui_buffer *exec_buffer_new (const char *name,
@@ -26,4 +26,4 @@ extern struct t_gui_buffer *exec_buffer_new (const char *name,
int clear_buffer,
int switch_to_buffer);
#endif /* WEECHAT_EXEC_BUFFER_H */
#endif /* WEECHAT_PLUGIN_EXEC_BUFFER_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_EXEC_COMMAND_H
#define WEECHAT_EXEC_COMMAND_H 1
#ifndef WEECHAT_PLUGIN_EXEC_COMMAND_H
#define WEECHAT_PLUGIN_EXEC_COMMAND_H
struct t_exec_cmd_options
{
@@ -48,4 +48,4 @@ extern int exec_command_run (struct t_gui_buffer *buffer,
int start_arg);
extern void exec_command_init ();
#endif /* WEECHAT_EXEC_COMMAND_H */
#endif /* WEECHAT_PLUGIN_EXEC_COMMAND_H */
+3 -3
View File
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_EXEC_COMPLETION_H
#define WEECHAT_EXEC_COMPLETION_H 1
#ifndef WEECHAT_PLUGIN_EXEC_COMPLETION_H
#define WEECHAT_PLUGIN_EXEC_COMPLETION_H
extern void exec_completion_init ();
#endif /* WEECHAT_EXEC_COMPLETION_H */
#endif /* WEECHAT_PLUGIN_EXEC_COMPLETION_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_EXEC_CONFIG_H
#define WEECHAT_EXEC_CONFIG_H 1
#ifndef WEECHAT_PLUGIN_EXEC_CONFIG_H
#define WEECHAT_PLUGIN_EXEC_CONFIG_H
#define EXEC_CONFIG_NAME "exec"
@@ -38,4 +38,4 @@ extern int exec_config_read ();
extern int exec_config_write ();
extern void exec_config_free ();
#endif /* WEECHAT_EXEC_CONFIG_H */
#endif /* WEECHAT_PLUGIN_EXEC_CONFIG_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_EXEC_H
#define WEECHAT_EXEC_H 1
#ifndef WEECHAT_PLUGIN_EXEC_H
#define WEECHAT_PLUGIN_EXEC_H
#include <unistd.h>
#include <time.h>
@@ -88,4 +88,4 @@ extern int exec_process_cb (const void *pointer, void *data,
extern void exec_free (struct t_exec_cmd *exec_cmd);
extern void exec_free_all ();
#endif /* WEECHAT_EXEC_H */
#endif /* WEECHAT_PLUGIN_EXEC_H */