1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-16 12:03:03 -05:00
Simon Tatham 9396fcc9f7 Rename FROMFIELD to 'container_of'.
Ian Jackson points out that the Linux kernel has a macro of this name
with the same purpose, and suggests that it's a good idea to use the
same name as they do, so that at least some people reading one code
base might recognise it from the other.

I never really thought very hard about what order FROMFIELD's
parameters should go in, and therefore I'm pleasantly surprised to
find that my order agrees with the kernel's, so I don't have to
permute every call site as part of making this change :-)
2018-10-06 07:28:51 +01:00
..
2018-09-19 23:08:07 +01:00
2018-09-19 23:08:07 +01:00
2018-10-06 07:28:51 +01:00
2018-09-21 16:46:03 +01:00
2018-08-25 14:38:47 +01:00
2018-10-06 07:28:51 +01:00
2018-10-06 07:28:51 +01:00
2018-10-06 07:28:51 +01:00
2018-10-06 07:28:51 +01:00
2018-10-06 07:28:51 +01:00
2015-05-15 12:47:44 +01:00