mirror of https://github.com/xzeldon/htop.git
Drop unused Platform functions Platform_setTasksValues
This commit is contained in:
parent
f8bd5acdc1
commit
b08b255b41
|
@ -200,11 +200,6 @@ void Platform_setSwapValues(Meter* this) {
|
||||||
this->values[0] = pl->usedSwap;
|
this->values[0] = pl->usedSwap;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Platform_setTasksValues(Meter* this) {
|
|
||||||
// TODO
|
|
||||||
(void)this; // prevent unused warning
|
|
||||||
}
|
|
||||||
|
|
||||||
char* Platform_getProcessEnv(pid_t pid) {
|
char* Platform_getProcessEnv(pid_t pid) {
|
||||||
// TODO
|
// TODO
|
||||||
(void)pid; // prevent unused warning
|
(void)pid; // prevent unused warning
|
||||||
|
|
|
@ -38,8 +38,6 @@ void Platform_setMemoryValues(Meter* this);
|
||||||
|
|
||||||
void Platform_setSwapValues(Meter* this);
|
void Platform_setSwapValues(Meter* this);
|
||||||
|
|
||||||
void Platform_setTasksValues(Meter* this);
|
|
||||||
|
|
||||||
char* Platform_getProcessEnv(pid_t pid);
|
char* Platform_getProcessEnv(pid_t pid);
|
||||||
|
|
||||||
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
||||||
|
|
|
@ -219,11 +219,6 @@ void Platform_setZfsCompressedArcValues(Meter* this) {
|
||||||
ZfsCompressedArcMeter_readStats(this, &(fpl->zfs));
|
ZfsCompressedArcMeter_readStats(this, &(fpl->zfs));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Platform_setTasksValues(Meter* this) {
|
|
||||||
(void) this;
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
|
|
||||||
char* Platform_getProcessEnv(pid_t pid) {
|
char* Platform_getProcessEnv(pid_t pid) {
|
||||||
(void) pid;
|
(void) pid;
|
||||||
// TODO
|
// TODO
|
||||||
|
|
|
@ -41,8 +41,6 @@ void Platform_setZfsArcValues(Meter* this);
|
||||||
|
|
||||||
void Platform_setZfsCompressedArcValues(Meter* this);
|
void Platform_setZfsCompressedArcValues(Meter* this);
|
||||||
|
|
||||||
void Platform_setTasksValues(Meter* this);
|
|
||||||
|
|
||||||
char* Platform_getProcessEnv(pid_t pid);
|
char* Platform_getProcessEnv(pid_t pid);
|
||||||
|
|
||||||
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
||||||
|
|
|
@ -241,10 +241,6 @@ void Platform_setSwapValues(Meter* this) {
|
||||||
free(swdev);
|
free(swdev);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Platform_setTasksValues(Meter* this) {
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
|
|
||||||
char* Platform_getProcessEnv(pid_t pid) {
|
char* Platform_getProcessEnv(pid_t pid) {
|
||||||
char errbuf[_POSIX2_LINE_MAX];
|
char errbuf[_POSIX2_LINE_MAX];
|
||||||
char *env;
|
char *env;
|
||||||
|
|
|
@ -39,8 +39,6 @@ void Platform_setMemoryValues(Meter* this);
|
||||||
|
|
||||||
void Platform_setSwapValues(Meter* this);
|
void Platform_setSwapValues(Meter* this);
|
||||||
|
|
||||||
void Platform_setTasksValues(Meter* this);
|
|
||||||
|
|
||||||
char* Platform_getProcessEnv(pid_t pid);
|
char* Platform_getProcessEnv(pid_t pid);
|
||||||
|
|
||||||
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
|
||||||
|
|
Loading…
Reference in New Issue