1
0
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:
Simon Tatham 2022-03-12 16:57:51 +00:00
parent ee987ce4cd
commit 269ea8aaf5
3 changed files with 2 additions and 2 deletions

2
defs.h
View File

@ -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

View File

@ -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);

View File

@ -606,7 +606,6 @@ void EnableSizeTip(bool bEnable);
/*
* Exports from unicode.c.
*/
struct unicode_data;
void init_ucs(Conf *, struct unicode_data *);
/*