1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

core: forward declare structs to avoid implicit declarations

This commit is contained in:
Simmo Saan
2017-06-03 13:56:58 +03:00
parent dcef2a8e0d
commit 7a0bbd802b
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -22,6 +22,8 @@
#include <time.h>
struct t_weechat_plugin;
/* list structures */
enum t_infolist_type
+6
View File
@@ -36,14 +36,20 @@ extern "C" {
#endif /* PATH_MAX */
struct t_config_option;
struct t_config_section;
struct t_config_file;
struct t_gui_window;
struct t_gui_buffer;
struct t_gui_bar;
struct t_gui_bar_item;
struct t_gui_completion;
struct t_gui_nick;
struct t_gui_nick_group;
struct t_infolist;
struct t_infolist_item;
struct t_upgrade_file;
struct t_weelist;
struct t_weelist_item;
struct t_arraylist;
struct t_hashtable;
struct t_hdata;