util: added TYPESAFE_QSORT() macro
authorAndrew Tridgell <tridge@samba.org>
Sat, 13 Feb 2010 01:53:15 +0000 (12:53 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 13 Feb 2010 11:36:11 +0000 (22:36 +1100)
commit63844609dafb58860a4058bbd7fee10b1f69876b
tree3dbc7005acf92cd72a2a323e2eda64b8d7d3831a
parent6824c6f46ba7c15e8af91d5aa8b21a946b63107b
util: added TYPESAFE_QSORT() macro

This makes it much harder to get the type of a qsort comparison
function wrong.
lib/util/tsort.h [new file with mode: 0644]