зеркало из https://github.com/github/putty.git
Remove duplicate typedef for mainchan.
In some compiler modes - notably the one that gtk-config selects when GTK PuTTY is built for GTK 1 - it's an error to typedef the same thing twice. 'mainchan' is defined in defs.h, so it doesn't need defining again where the structure contents are specified.
This commit is contained in:
Родитель
1d459fc725
Коммит
3a2afbc9c0
|
@ -54,7 +54,7 @@ typedef enum MainChanType {
|
|||
MAINCHAN_SESSION, MAINCHAN_DIRECT_TCPIP
|
||||
} MainChanType;
|
||||
|
||||
typedef struct mainchan {
|
||||
struct mainchan {
|
||||
SshChannel *sc;
|
||||
Conf *conf;
|
||||
PacketProtocolLayer *ppl;
|
||||
|
@ -70,7 +70,7 @@ typedef struct mainchan {
|
|||
int term_width, term_height;
|
||||
|
||||
Channel chan;
|
||||
} mainchan;
|
||||
};
|
||||
|
||||
mainchan *mainchan_new(
|
||||
PacketProtocolLayer *ppl, ConnectionLayer *cl, Conf *conf,
|
||||
|
|
Загрузка…
Ссылка в новой задаче