simon-svn: putty: ben
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Tue Aug 28 00:16:49 BST 2012
SVN root: svn://svn.tartarus.org/sgt
Changes by: ben
Revision: 9636
Date: 2012-08-28 00:16:49 +0100 (Tue, 28 Aug 2012)
Log message (7 lines):
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.
Modified files:
U putty/timing.c
Links:
http://svn.tartarus.org/sgt/?rev=9636&view=rev
http://svn.tartarus.org/sgt/putty/timing.c?rev=9636&r1=9635&r2=9636
More information about the tartarus-commits
mailing list