library: rename 'diskstat' source as 'diskstats' files

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

This brings diskstats into line with such an approach.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2016-07-20 00:00:00 -05:00 committed by Craig Small
parent 338166df57
commit 8e5d5e44e9
4 changed files with 6 additions and 6 deletions

View File

@ -177,8 +177,8 @@ proc_libprocps_la_SOURCES = \
proc/alloc.h \
proc/devname.c \
proc/devname.h \
proc/diskstat.c \
proc/diskstat.h \
proc/diskstats.c \
proc/diskstats.h \
proc/escape.c \
proc/escape.h \
proc/procps-private.h \
@ -212,7 +212,7 @@ proc_libprocps_la_includedir = $(includedir)/proc/
proc_libprocps_la_include_HEADERS = \
proc/alloc.h \
proc/devname.h \
proc/diskstat.h \
proc/diskstats.h \
proc/escape.h \
proc/pids.h \
proc/procps.h \

View File

@ -30,7 +30,7 @@
#include <dirent.h>
#include <errno.h>
#include <proc/diskstat.h>
#include <proc/diskstats.h>
#include "procps-private.h"
#define DISKSTAT_LINE_LEN 1024

View File

@ -22,7 +22,7 @@
#ifndef PROC_DISKSTAT_H
#define PROC_DISKSTAT_H
#include <features.h>
#include <sys/cdefs.h>
__BEGIN_DECLS

View File

@ -19,7 +19,7 @@
#define PROCPS_PROC_PROCPS_H
/* includes that show public exports go here */
#include <proc/diskstat.h>
#include <proc/diskstats.h>
#include <proc/meminfo.h>
#include <proc/namespace.h>
#include <proc/pids.h>