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

core: fix use of reserved C identifiers in headers (closes #31)

This commit is contained in:
Sebastien Helleu
2014-03-19 10:39:13 +01:00
parent bc96d2f1ec
commit 9b380a935b
153 changed files with 461 additions and 461 deletions
+3 -3
View File
@@ -17,11 +17,11 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_EXEC_BUFFER_H
#define __WEECHAT_EXEC_BUFFER_H 1
#ifndef WEECHAT_EXEC_BUFFER_H
#define WEECHAT_EXEC_BUFFER_H 1
extern void exec_buffer_set_callbacks ();
extern struct t_gui_buffer *exec_buffer_new (const char *name,
int switch_to_buffer);
#endif /* __WEECHAT_EXEC_BUFFER_H */
#endif /* WEECHAT_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_EXEC_COMMAND_H
#define WEECHAT_EXEC_COMMAND_H 1
struct t_exec_cmd_options
{
@@ -45,4 +45,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_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_EXEC_COMPLETION_H
#define WEECHAT_EXEC_COMPLETION_H 1
extern void exec_completion_init ();
#endif /* __WEECHAT_EXEC_COMPLETION_H */
#endif /* WEECHAT_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_EXEC_CONFIG_H
#define WEECHAT_EXEC_CONFIG_H 1
#define EXEC_CONFIG_NAME "exec"
#define EXEC_CONFIG_SECTION_EXEC "exec"
@@ -39,4 +39,4 @@ extern int exec_config_read ();
extern int exec_config_write ();
extern void exec_config_free ();
#endif /* __WEECHAT_EXEC_CONFIG_H */
#endif /* WEECHAT_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_EXEC_H
#define WEECHAT_EXEC_H 1
#include <time.h>
@@ -83,4 +83,4 @@ extern int exec_process_cb (void *data, const char *command, int return_code,
extern void exec_free (struct t_exec_cmd *exec_cmd);
extern void exec_free_all ();
#endif /* __WEECHAT_EXEC_H */
#endif /* WEECHAT_EXEC_H */