1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Make logblank_t a typedef.

It seems especially silly for a structure whose name ends in
_t to have to have the 'struct' prefix!
This commit is contained in:
Simon Tatham 2018-06-09 09:00:11 +01:00
parent 734ada9b57
commit 72c2b70736

2
defs.h
View File

@ -62,6 +62,8 @@ typedef struct ptrlen {
size_t len;
} ptrlen;
typedef struct logblank_t logblank_t;
/* 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