FreeBSD/contrib/ntp/ntpq/ntpq.c
/*
 * sortassoc - sort associations in the cache into ascending order
 */
sort associations in the cache into ascending order
sort associations in the cache into ascending order
void
sortassoc(void)
{
	if (numassoc > 1)
		qsort(assoc_cache, (size_t)numassoc,
		      sizeof(assoc_cache[0]), &assoccmp);
}
void sortassoc ( void ) { if ( numassoc > 1 ) qsort ( assoc_cache , ( size_t ) numassoc , sizeof ( assoc_cache [ 0 ] ) , & assoccmp ) ; }
sortassoc - sort associations in the cache into ascending order
sortassoc - sort associations in the cache into ascending order