mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Move predeclaration of struct unicode_data into defs.h.
It's just the sort of thing that ought to be in there, once, so it doesn't have to be declared in n places.
This commit is contained in:
parent
ee987ce4cd
commit
269ea8aaf5
2
defs.h
2
defs.h
@ -192,6 +192,8 @@ typedef struct logblank_t logblank_t;
|
||||
typedef struct BinaryPacketProtocol BinaryPacketProtocol;
|
||||
typedef struct PacketProtocolLayer PacketProtocolLayer;
|
||||
|
||||
struct unicode_data;
|
||||
|
||||
/* Do a compile-time type-check of 'to_check' (without evaluating it),
|
||||
* as a side effect of returning the value 'to_return'. Note that
|
||||
* although this macro double-*expands* to_return, it always
|
||||
|
@ -347,7 +347,6 @@ char *make_dir_path(const char *path, mode_t mode);
|
||||
/*
|
||||
* Exports from unicode.c.
|
||||
*/
|
||||
struct unicode_data;
|
||||
bool init_ucs(struct unicode_data *ucsdata, char *line_codepage,
|
||||
bool utf8_override, int font_charset, int vtmode);
|
||||
|
||||
|
@ -606,7 +606,6 @@ void EnableSizeTip(bool bEnable);
|
||||
/*
|
||||
* Exports from unicode.c.
|
||||
*/
|
||||
struct unicode_data;
|
||||
void init_ucs(Conf *, struct unicode_data *);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user