]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Clang, like LCC, objects to using '<' and '>' on function pointers.
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 27 Aug 2012 23:16:49 +0000 (23:16 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 27 Aug 2012 23:16:49 +0000 (23:16 +0000)
commit538090ede444b111039904cf918f095dc858e875
treed5541bc5a2b8ad81515bdb3e3c97719d95d3eba0
parente27ce2017e860c93369414d4f9c1ed12c54360f6
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.

[originally from svn r9636]
timing.c