library: remove procps_pagesize_get()

This is actually a systemcall getpagesize(2) or it is defined
in configure using a variety of methods, including a default
hard coded value as a last resort.

There is no need to have this in libprocps
This commit is contained in:
Craig Small
2015-07-02 20:54:11 +10:00
parent 855a6a7055
commit 62f9a51532
4 changed files with 1 additions and 19 deletions

View File

@@ -3253,7 +3253,7 @@ static void before (char *me) {
// establish cpu particulars
Hertz = procps_hertz_get();
Cpu_cnt = procps_cpu_count();
Page_size = procps_pagesize_get();
Page_size = getpagesize();
#ifdef PRETEND8CPUS
Cpu_cnt = 8;
#endif