library: misc tweaks for code and comments, <PIDS> api

This commit simply tries to keep naming plus formating
conventions on a par with the continuing climb up that
learning curve. These changes were suggested following
<slabinfo> sources upgrade from 2nd to 3rd generation.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2016-06-06 00:00:00 -05:00
committed by Craig Small
parent 335cbc2e61
commit aa9f00dcaf
2 changed files with 24 additions and 21 deletions

View File

@ -158,8 +158,8 @@ enum pids_select_type {
};
enum pids_sort_order {
PROCPS_SORT_ASCEND = +1,
PROCPS_SORT_DESCEND = -1
PROCPS_PIDS_ASCEND = +1,
PROCPS_PIDS_DESCEND = -1
};
@ -232,7 +232,5 @@ struct pids_stack **procps_pids_sort (
enum pids_item sortitem,
enum pids_sort_order order);
__END_DECLS
#endif /* _PROC_PIDS_H */