library: rename the 'procps_pids_stacks_sort' function

The above function was the sole public function in the
<pids> interface to use the word 'stacks' in its name.
All of the others dealt exclusively with their duties,

So this commit normalizes that outlier by renaming it.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2015-10-11 00:00:00 -05:00 committed by Craig Small
parent c9388ed512
commit 838e7852cb
3 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ global:
procps_pids_ref;
procps_pids_reset;
procps_pids_select;
procps_pids_stacks_sort;
procps_pids_sort;
procps_pids_unref;
procps_slabinfo_new;
procps_slabinfo_read;

View File

@ -1388,7 +1388,7 @@ PROCPS_EXPORT struct pids_reap *procps_pids_select (
/*
* procps_pids_stacks_sort():
* procps_pids_sort():
*
* Sort stacks anchored in the passed pids_stack pointers array
* based on the designated sort enumerator and specified order.
@ -1397,7 +1397,7 @@ PROCPS_EXPORT struct pids_reap *procps_pids_select (
*
* Note: all of the stacks must be homogeneous (of equal length and content).
*/
PROCPS_EXPORT struct pids_stack **procps_pids_stacks_sort (
PROCPS_EXPORT struct pids_stack **procps_pids_sort (
struct procps_pidsinfo *info,
struct pids_stack *stacks[],
int numstacked,
@ -1435,7 +1435,7 @@ PROCPS_EXPORT struct pids_stack **procps_pids_stacks_sort (
qsort_r(stacks, numstacked, sizeof(void *), (QSR_t)Item_table[p->item].sortfunc, &parms);
return stacks;
} // end: procps_pids_stacks_sort
} // end: procps_pids_sort
PROCPS_EXPORT int procps_pids_unref (

View File

@ -230,7 +230,7 @@ struct pids_reap *procps_pids_select (
int maxthese,
enum pids_fill_type which);
struct pids_stack **procps_pids_stacks_sort (
struct pids_stack **procps_pids_sort (
struct procps_pidsinfo *info,
struct pids_stack *stacks[],
int numstacked,