asort: Use order module definitions
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 18 Jun 2015 09:29:37 +0000 (19:29 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 18 Jun 2015 09:29:37 +0000 (19:29 +1000)
commit918a733fc27172f56d66a28bc24bd897ac1c48f6
tree424ca4ca151b1d5590cad7416ea374d42d934be9
parent37825438b65879dad1a343b45bb5ce9fc37ba8e7
asort: Use order module definitions

The asort routine takes a user-supplied comparison function.  Use the
definitions from the new order module to slightly simplify the declaration
and handling of this function.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/asort/_info
ccan/asort/asort.h