mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
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:
parent
1d459fc725
commit
3a2afbc9c0
@ -54,7 +54,7 @@ typedef enum MainChanType {
|
|||||||
MAINCHAN_SESSION, MAINCHAN_DIRECT_TCPIP
|
MAINCHAN_SESSION, MAINCHAN_DIRECT_TCPIP
|
||||||
} MainChanType;
|
} MainChanType;
|
||||||
|
|
||||||
typedef struct mainchan {
|
struct mainchan {
|
||||||
SshChannel *sc;
|
SshChannel *sc;
|
||||||
Conf *conf;
|
Conf *conf;
|
||||||
PacketProtocolLayer *ppl;
|
PacketProtocolLayer *ppl;
|
||||||
@ -70,7 +70,7 @@ typedef struct mainchan {
|
|||||||
int term_width, term_height;
|
int term_width, term_height;
|
||||||
|
|
||||||
Channel chan;
|
Channel chan;
|
||||||
} mainchan;
|
};
|
||||||
|
|
||||||
mainchan *mainchan_new(
|
mainchan *mainchan_new(
|
||||||
PacketProtocolLayer *ppl, ConnectionLayer *cl, Conf *conf,
|
PacketProtocolLayer *ppl, ConnectionLayer *cl, Conf *conf,
|
||||||
|
Loading…
Reference in New Issue
Block a user