library: remove getpartitions_num from library

getpartitions_num was only used in vmstat and basically counted
partitions in disks, this is now moved to vmstat.
This commit is contained in:
Craig Small
2015-07-01 22:14:30 +10:00
parent 161e06465b
commit 855a6a7055
4 changed files with 14 additions and 88 deletions

View File

@@ -41,7 +41,6 @@ typedef struct partition_stat{
unsigned long long requested_writes;
}partition_stat;
extern unsigned int getpartitions_num(struct disk_stat *disks, int ndisks);
extern unsigned int getdiskstat (struct disk_stat**,struct partition_stat**);
typedef struct slab_cache{