]> granicus.if.org Git - procps-ng/commit
library: privatize two with <pids> select/fill changes
authorJim Warner <james.warner@comcast.net>
Thu, 1 Oct 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 5 Oct 2015 10:48:45 +0000 (21:48 +1100)
commit747dfc5987e6e91ea3a8575de307e2892790c598
tree9cb5ad19efbe8435fcf262ab684cacc5db22e168
parent0c953eccc5fe7240be9d272e1b6c0ce8769d8ed2
library: privatize two with <pids> select/fill changes

After simplifying that select/fill interface, there is
no longer a need for public 'alloc' & 'dealloc' stacks
functions. There is now only one instance of stacks as
an input parameter found in procps_pids_stacks_sort().
But sorting 'empty' stacks serves no possible purpose.

So this commit retains both functions, since they will
still be needed, but designates them private (static).

Additionally, with their demise we will eliminate that
pids_stacks structure from the header file, internally
using what always was the true 'stacks_extent' struct.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/libprocps.sym
proc/pids.c
proc/pids.h