mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -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:
@ -73,11 +73,7 @@ void set_sbar(Frontend *frontend, int a, int b, int c) { }
|
||||
|
||||
void ldisc_send(Ldisc *ldisc, const void *buf, int len, int interactive) {}
|
||||
void ldisc_echoedit_update(Ldisc *ldisc) {}
|
||||
Context get_ctx(Frontend *frontend) {
|
||||
static char x;
|
||||
|
||||
return &x;
|
||||
}
|
||||
Context get_ctx(Frontend *frontend) { return NULL; }
|
||||
void free_ctx(Context ctx) { }
|
||||
void palette_set(Frontend *frontend, int a, int b, int c, int d) { }
|
||||
void palette_reset(Frontend *frontend) { }
|
||||
|
Reference in New Issue
Block a user