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:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user