diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-20 02:14:49 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-20 02:14:49 +0000 |
commit | bf5b6c08c56badb5f41b8bf1311992a8d1c56579 (patch) | |
tree | bf846565cdfc0aee0e57b89d6a63356177c600e9 /src/fe-common | |
parent | 4d1938d4ef9d9866a7394f5f4d436db8f8511ba2 (diff) | |
download | irssi-bf5b6c08c56badb5f41b8bf1311992a8d1c56579.zip |
Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/chat-completion.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/fe-channels.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/fe-common-core.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/fe-core-commands.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/fe-exec.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/fe-messages.c | 8 | ||||
-rw-r--r-- | src/fe-common/core/fe-queries.c | 1 | ||||
-rw-r--r-- | src/fe-common/core/fe-windows.h | 5 | ||||
-rw-r--r-- | src/fe-common/core/formats.c | 1 | ||||
-rw-r--r-- | src/fe-common/irc/dcc/fe-dcc-chat.c | 1 | ||||
-rw-r--r-- | src/fe-common/irc/fe-irc-channels.c | 1 |
11 files changed, 16 insertions, 6 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 28a9017f..0c401cfb 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -25,6 +25,7 @@ #include "settings.h" #include "chatnets.h" +#include "servers.h" #include "servers-setup.h" #include "channels.h" #include "channels-setup.h" diff --git a/src/fe-common/core/fe-channels.c b/src/fe-common/core/fe-channels.c index 0b82df64..83638ddf 100644 --- a/src/fe-common/core/fe-channels.c +++ b/src/fe-common/core/fe-channels.c @@ -29,6 +29,7 @@ #include "chat-protocols.h" #include "chatnets.h" +#include "servers.h" #include "channels.h" #include "channels-setup.h" #include "nicklist.h" diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index ae38a2e2..fc7598d0 100644 --- a/src/fe-common/core/fe-common-core.c +++ b/src/fe-common/core/fe-common-core.c @@ -26,6 +26,7 @@ #include "settings.h" #include "irssi-version.h" +#include "servers.h" #include "channels.h" #include "servers-setup.h" diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index 3bf5a201..cf7938ea 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -27,6 +27,7 @@ #include "line-split.h" #include "settings.h" #include "irssi-version.h" +#include "servers.h" #include "fe-windows.h" #include "printtext.h" diff --git a/src/fe-common/core/fe-exec.c b/src/fe-common/core/fe-exec.c index 1bac8eb6..5d78894a 100644 --- a/src/fe-common/core/fe-exec.c +++ b/src/fe-common/core/fe-exec.c @@ -19,6 +19,7 @@ */ #include "module.h" +#include "modules.h" #include "signals.h" #include "commands.h" #include "pidwait.h" diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index f77ee843..ffb46ca4 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -27,12 +27,14 @@ #include "special-vars.h" #include "settings.h" -#include "window-items.h" -#include "fe-queries.h" +#include "servers.h" #include "channels.h" #include "nicklist.h" -#include "hilight-text.h" #include "ignore.h" + +#include "window-items.h" +#include "fe-queries.h" +#include "hilight-text.h" #include "printtext.h" #define ishighalnum(c) ((unsigned char) (c) >= 128 || isalnum(c)) diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c index 9be07fce..9847c886 100644 --- a/src/fe-common/core/fe-queries.c +++ b/src/fe-common/core/fe-queries.c @@ -27,6 +27,7 @@ #include "settings.h" #include "chat-protocols.h" +#include "servers.h" #include "queries.h" #include "fe-windows.h" diff --git a/src/fe-common/core/fe-windows.h b/src/fe-common/core/fe-windows.h index d1c6fbc7..909cd1bc 100644 --- a/src/fe-common/core/fe-windows.h +++ b/src/fe-common/core/fe-windows.h @@ -1,7 +1,6 @@ #ifndef __WINDOWS_H #define __WINDOWS_H -#include "servers.h" #include "window-item-def.h" enum { @@ -17,7 +16,7 @@ typedef struct { unsigned int sticky:1; } WINDOW_BIND_REC; -typedef struct { +struct _WINDOW_REC { int refnum; char *name; @@ -48,7 +47,7 @@ typedef struct { void *theme; /* THEME_REC */ void *gui_data; -} WINDOW_REC; +}; extern GSList *windows; extern WINDOW_REC *active_win; diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index de263057..78457fa4 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -25,6 +25,7 @@ #include "settings.h" #include "levels.h" +#include "servers.h" #include "fe-windows.h" #include "window-items.h" diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c index 03bc5778..b1bad934 100644 --- a/src/fe-common/irc/dcc/fe-dcc-chat.c +++ b/src/fe-common/irc/dcc/fe-dcc-chat.c @@ -25,6 +25,7 @@ #include "settings.h" #include "irc.h" +#include "irc-servers.h" #include "irc-queries.h" #include "dcc-chat.h" diff --git a/src/fe-common/irc/fe-irc-channels.c b/src/fe-common/irc/fe-irc-channels.c index 67277191..0fd58343 100644 --- a/src/fe-common/irc/fe-irc-channels.c +++ b/src/fe-common/irc/fe-irc-channels.c @@ -23,6 +23,7 @@ #include "signals.h" #include "levels.h" +#include "irc-servers.h" #include "irc-channels.h" #include "channel-rejoin.h" |