library: rename those readstat.c & h sources to 'stat'
In an attempt to normalize the 'stat' interface, we'll first shed any reminders of the old readproc interface by changing file names to be more descriptive & brief. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
b778a267fe
commit
3a48427d5d
@ -193,10 +193,10 @@ proc_libprocps_la_SOURCES = \
|
||||
proc/pwcache.h \
|
||||
proc/readproc.c \
|
||||
proc/readproc.h \
|
||||
proc/readstat.c \
|
||||
proc/readstat.h \
|
||||
proc/slab.c \
|
||||
proc/slab.h \
|
||||
proc/stat.c \
|
||||
proc/stat.h \
|
||||
proc/sysinfo.c \
|
||||
proc/sysinfo.h \
|
||||
proc/version.c \
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include <proc/meminfo.h>
|
||||
#include <proc/namespace.h>
|
||||
#include <proc/pids.h>
|
||||
#include <proc/readstat.h>
|
||||
#include <proc/slab.h>
|
||||
#include <proc/stat.h>
|
||||
#include <proc/sysinfo.h>
|
||||
#include <proc/version.h>
|
||||
#include <proc/vmstat.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <proc/readstat.h>
|
||||
#include <proc/stat.h>
|
||||
#include "procps-private.h"
|
||||
|
||||
#define STAT_FILE "/proc/stat"
|
@ -15,8 +15,8 @@
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef PROC_READ_STAT_H
|
||||
#define PROC_READ_STAT_H
|
||||
#ifndef PROC_STAT_H
|
||||
#define PROC_STAT_H
|
||||
|
||||
#include <proc/procps.h>
|
||||
|
Loading…
Reference in New Issue
Block a user