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:
parent
338166df57
commit
8e5d5e44e9
@ -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 \
|
||||
|
@ -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
|
@ -22,7 +22,7 @@
|
||||
#ifndef PROC_DISKSTAT_H
|
||||
#define PROC_DISKSTAT_H
|
||||
|
||||
#include <features.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user