mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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:
commit
6ce79d8d22
5
ssh.h
5
ssh.h
@ -75,7 +75,10 @@ void share_setup_x11_channel(void *csv, void *chanv,
|
|||||||
typedef void *Bignum;
|
typedef void *Bignum;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct ssh_key {} ssh_key;
|
typedef struct ssh_key {
|
||||||
|
int dummy;
|
||||||
|
} ssh_key;
|
||||||
|
|
||||||
typedef struct ssh_keyalg ssh_keyalg;
|
typedef struct ssh_keyalg ssh_keyalg;
|
||||||
|
|
||||||
struct RSAKey {
|
struct RSAKey {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user