diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-01-16 08:13:20 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-01-16 08:13:20 +0100 |
commit | 63c3bee56b7893acddf2ac63d5c65e4d19b596f8 (patch) | |
tree | 5e26acee291d3f6427f2b896a6280d042bac75e5 /src | |
parent | 16b2ac36b37193bf6907ceb9a53aa9f517a1ca4d (diff) | |
parent | b46e75d5041942ea385bed14749c4479533fbbee (diff) | |
download | weechat-63c3bee56b7893acddf2ac63d5c65e4d19b596f8.zip |
Merge pull request #656 from mojadita/some-externs-missing-for-osx-compiling
Add extern keyword several places to link in osx
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/trigger/trigger-buffer.h | 2 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-config.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/trigger/trigger-buffer.h b/src/plugins/trigger/trigger-buffer.h index 50340b9a5..d61a9144a 100644 --- a/src/plugins/trigger/trigger-buffer.h +++ b/src/plugins/trigger/trigger-buffer.h @@ -22,7 +22,7 @@ #define TRIGGER_BUFFER_NAME "monitor" -struct t_gui_buffer *trigger_buffer; +extern struct t_gui_buffer *trigger_buffer; extern void trigger_buffer_set_callbacks (); extern void trigger_buffer_open (const char *filter, int switch_to_buffer); diff --git a/src/plugins/xfer/xfer-config.h b/src/plugins/xfer/xfer-config.h index aedb20ea3..500f2322e 100644 --- a/src/plugins/xfer/xfer-config.h +++ b/src/plugins/xfer/xfer-config.h @@ -42,9 +42,9 @@ extern struct t_config_option *xfer_config_network_port_range; extern struct t_config_option *xfer_config_network_speed_limit; extern struct t_config_option *xfer_config_network_timeout; -struct t_config_option *xfer_config_file_auto_accept_chats; -struct t_config_option *xfer_config_file_auto_accept_files; -struct t_config_option *xfer_config_file_auto_accept_nicks; +extern struct t_config_option *xfer_config_file_auto_accept_chats; +extern struct t_config_option *xfer_config_file_auto_accept_files; +extern struct t_config_option *xfer_config_file_auto_accept_nicks; extern struct t_config_option *xfer_config_file_auto_rename; extern struct t_config_option *xfer_config_file_auto_resume; extern struct t_config_option *xfer_config_file_auto_check_crc32; |