Clang, like LCC, objects to using '<' and '>' on function pointers.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 27 Aug 2012 23:16:49 +0000 (23:16 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 27 Aug 2012 23:16:49 +0000 (23:16 +0000)
commit7cd7de02fab619939e6665c251b246615ecce96e
treed5541bc5a2b8ad81515bdb3e3c97719d95d3eba0
parent0b106f61ff2b8b7a9f294b4a9cf9ebfedb646afc
Clang, like LCC, objects to using '<' and '>' on function pointers.

I'm not entirely sure that using memcmp() is any more defined by the C
standard, but at least Clang doesn't complain about it.  While I'm
here, tree234 doesn't require that comparison functions return
precisely +1 or -1, so we can use the return value of memcmp()
directly.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9636 cda61777-01e9-0310-a592-d414129be87e
timing.c