mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
core: fix use of reserved C identifiers in headers (closes #31)
This commit is contained in:
@@ -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_SCRIPT_ACTION_H
|
||||
#define WEECHAT_SCRIPT_ACTION_H 1
|
||||
|
||||
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_SCRIPT_ACTION_H */
|
||||
|
||||
@@ -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_SCRIPT_BUFFER_H
|
||||
#define WEECHAT_SCRIPT_BUFFER_H 1
|
||||
|
||||
#define SCRIPT_BUFFER_NAME "scripts"
|
||||
|
||||
@@ -46,4 +46,4 @@ extern void script_buffer_set_callbacks ();
|
||||
extern void script_buffer_set_keys ();
|
||||
extern void script_buffer_open ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_BUFFER_H */
|
||||
#endif /* WEECHAT_SCRIPT_BUFFER_H */
|
||||
|
||||
@@ -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_SCRIPT_COMMAND_H
|
||||
#define WEECHAT_SCRIPT_COMMAND_H 1
|
||||
|
||||
extern void script_command_init ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_COMMAND_H */
|
||||
#endif /* WEECHAT_SCRIPT_COMMAND_H */
|
||||
|
||||
@@ -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_SCRIPT_COMPLETION_H
|
||||
#define WEECHAT_SCRIPT_COMPLETION_H 1
|
||||
|
||||
extern void script_completion_init ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_COMPLETION_H */
|
||||
#endif /* WEECHAT_SCRIPT_COMPLETION_H */
|
||||
|
||||
@@ -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_SCRIPT_CONFIG_H
|
||||
#define WEECHAT_SCRIPT_CONFIG_H 1
|
||||
|
||||
#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_SCRIPT_CONFIG_H */
|
||||
|
||||
@@ -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_SCRIPT_INFO_H
|
||||
#define WEECHAT_SCRIPT_INFO_H 1
|
||||
|
||||
extern void script_info_init ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_INFO_H */
|
||||
#endif /* WEECHAT_SCRIPT_INFO_H */
|
||||
|
||||
@@ -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_SCRIPT_REPO_H
|
||||
#define WEECHAT_SCRIPT_REPO_H 1
|
||||
|
||||
/* status for script */
|
||||
#define SCRIPT_STATUS_INSTALLED 1
|
||||
@@ -85,4 +85,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_SCRIPT_REPO_H */
|
||||
|
||||
@@ -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_SCRIPT_H
|
||||
#define WEECHAT_SCRIPT_H 1
|
||||
|
||||
#define weechat_plugin weechat_script_plugin
|
||||
#define SCRIPT_PLUGIN_NAME "script"
|
||||
@@ -37,4 +37,4 @@ extern int script_language_search_by_extension (const char *extension);
|
||||
extern void script_actions_add (const char *action);
|
||||
extern void script_get_loaded_plugins_and_scripts ();
|
||||
|
||||
#endif /* __WEECHAT_SCRIPT_H */
|
||||
#endif /* WEECHAT_SCRIPT_H */
|
||||
|
||||
Reference in New Issue
Block a user