]> granicus.if.org Git - sysstat/commitdiff
Removed several unused definitions in header files.
authorseb <seb@kluane.home>
Thu, 20 Dec 2012 20:54:11 +0000 (21:54 +0100)
committerseb <seb@kluane.home>
Thu, 20 Dec 2012 20:54:11 +0000 (21:54 +0100)
Some constants in header files were no longer used. So remove them.

CHANGES
common.h
rd_stats.h

diff --git a/CHANGES b/CHANGES
index ef94d68314cfa96dd70caedfd2abba5130d903b4..f46a6d1ab8b98eab4952666478e604466ea0178f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -27,6 +27,7 @@ xxxx/xx/xx: Version 10.1.3 - Sebastien Godard (sysstat <at> orange.fr)
        * Remove heading spaces in softirq names displayed by mpstat
          for easier reading.
        * Fixed wrong command execution syntax in configure script.
+       * Removed several unused definitions in some header files.
        * iostat manual page updated.
        * CREDITS file updated.
 
index 533d5f1741e5256325733d7c6c2bf8f30be2fa0a..2e64dc24efbf2a43bc2f049ea38471210ba94e8c 100644 (file)
--- a/common.h
+++ b/common.h
@@ -48,7 +48,6 @@
 /* Files */
 #define STAT                   "/proc/stat"
 #define UPTIME                 "/proc/uptime"
-#define PPARTITIONS            "/proc/partitions"
 #define DISKSTATS              "/proc/diskstats"
 #define INTERRUPTS             "/proc/interrupts"
 #define MEMINFO                        "/proc/meminfo"
@@ -72,8 +71,6 @@
 #define DEFAULT_DEVMAP_MAJOR   253
 #define MAX_NAME_LEN           72
 
-#define NR_DISKS               4
-
 #define IGNORE_VIRTUAL_DEVICES FALSE
 #define ACCEPT_VIRTUAL_DEVICES TRUE
 
index 0011be4014321307f4b956fb40ed735632117cb7..967f5849c936aef6f0a78c190368b4b849fdda4b 100644 (file)
 #define CNT_ALL_DEV    0
 #define CNT_USED_DEV   1
 
-#define READ_PROC_STAT         0
-#define READ_DISKSTATS         1
-#define READ_PPARTITIONS       2
-
 /*
  ***************************************************************************
  * System files containing statistics