Use sort_template.h for qsort() and qsort_arg().

Reduce duplication by using the new template.

Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: 
https://postgr.es/m/CA%2BhUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse%2BHG0Yig%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f374f4d66425060158d3c743dc6fb16cc0a2756a

Modified Files
--------------
src/port/qsort.c     | 227 ++------------------------------------------------
src/port/qsort_arg.c | 228 ++-------------------------------------------------
2 files changed, 15 insertions(+), 440 deletions(-)

Reply via email to