1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 20:42:48 -05:00

Clean up a 'void *' in a unix.h typedef.

'struct draw_ctx' has a structure tag inside gtkwin.c, so as per this
week's standard practice, let's expose the tag elsewhere so that
pointers declared that way can't be confused with anything else.
This commit is contained in:
Simon Tatham
2018-09-14 08:30:09 +01:00
parent 9738e042f9
commit 7efa4a5305
3 changed files with 8 additions and 16 deletions

View File

@ -65,7 +65,7 @@ struct FontSpec {
};
struct FontSpec *fontspec_new(const char *name);
typedef void *Context; /* FIXME: probably needs changing */
typedef struct draw_ctx *Context;
extern const struct Backend_vtable pty_backend;