library: rename the 'slab' sources as 'slabinfo' files

Where possible, libprocps files convey the name of the
actual source pseudo file under the '/proc' directory.

This patch brings slab into line with such a standard.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2016-06-05 00:00:00 -05:00 committed by Craig Small
parent d2b29312bb
commit 5be4167782
4 changed files with 7 additions and 7 deletions

View File

@ -193,8 +193,8 @@ proc_libprocps_la_SOURCES = \
proc/pwcache.h \
proc/readproc.c \
proc/readproc.h \
proc/slab.c \
proc/slab.h \
proc/slabinfo.c \
proc/slabinfo.h \
proc/stat.c \
proc/stat.h \
proc/sysinfo.c \
@ -218,7 +218,7 @@ proc_libprocps_la_include_HEADERS = \
proc/procps.h \
proc/pwcache.h \
proc/readproc.h \
proc/slab.h \
proc/slabinfo.h \
proc/sysinfo.h \
proc/uptime.h \
proc/version.h \

View File

@ -23,7 +23,7 @@
#include <proc/meminfo.h>
#include <proc/namespace.h>
#include <proc/pids.h>
#include <proc/slab.h>
#include <proc/slabinfo.h>
#include <proc/stat.h>
#include <proc/sysinfo.h>
#include <proc/version.h>

View File

@ -1,5 +1,5 @@
/*
* slab.c - slab related functions for libproc
* slabinfo.c - slab related functions for libproc
*
* Chris Rivera <cmrivera@ufl.edu>
* Robert Love <rml@tech9.net>
@ -35,7 +35,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <proc/slab.h>
#include <proc/slabinfo.h>
#include "procps-private.h"
#define SLABINFO_FILE "/proc/slabinfo"

View File

@ -1,5 +1,5 @@
/*
* slab.h - slab related functions for libproc
* slabinfo.h - slab related functions for libproc
*
* Copyright (C) 1998-2005 Albert Cahalan
* Copyright (C) 2015 Craig Small <csmall@enc.com.au>