mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38: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
|
||||
} 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,
|
||||
|
Loading…
Reference in New Issue
Block a user