src/backend/utils/sort/logtape.c
/*
 * qsort comparator for sorting freeBlocks[] into decreasing order.
 */
qsort comparator for sorting freeBlocks[] into decreasing order.
qsort comparator for sorting freeBlocks [] into decreasing order .
static int
freeBlocks_cmp(const void *a, const void *b)
{
	long		ablk = *((const long *) a);
	long		bblk = *((const long *) b);
	if (ablk < bblk)
		return 1;
	if (ablk > bblk)
		return -1;
	return 0;
}
static int freeBlocks_cmp ( const void * a , const void * b ) { long ablk = * ( ( const long * ) a ) ; long bblk = * ( ( const long * ) b ) ; if ( ablk < bblk ) return 1 ; if ( ablk > bblk ) return -1 ; return 0 ; }
qsort comparator for sorting freeBlocks[] into decreasing order.
qsort comparator for sorting freeBlocks [] into decreasing order .
/* can't just subtract because long might be wider than int */