1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Merge a C standards compliance fix.

It's annoying that what ought to be a zero-cost type-safety measure
takes up space at run time, but it can't be helped - if it's undefined
behaviour then it's undefined behaviour.
This commit is contained in:
Simon Tatham 2018-06-01 19:41:29 +01:00
commit 6ce79d8d22

5
ssh.h
View File

@ -75,7 +75,10 @@ void share_setup_x11_channel(void *csv, void *chanv,
typedef void *Bignum;
#endif
typedef struct ssh_key {} ssh_key;
typedef struct ssh_key {
int dummy;
} ssh_key;
typedef struct ssh_keyalg ssh_keyalg;
struct RSAKey {