mirror of https://github.com/xzeldon/htop.git
LinuxProcess: mark LinuxProcess_printDelay static
This commit is contained in:
parent
4fb82e301d
commit
3e5cba91ce
|
@ -186,7 +186,7 @@ bool LinuxProcess_setIOPriority(Process* this, Arg ioprio) {
|
|||
}
|
||||
|
||||
#ifdef HAVE_DELAYACCT
|
||||
void LinuxProcess_printDelay(float delay_percent, char* buffer, int n) {
|
||||
static void LinuxProcess_printDelay(float delay_percent, char* buffer, int n) {
|
||||
if (isnan(delay_percent)) {
|
||||
xSnprintf(buffer, n, " N/A ");
|
||||
} else {
|
||||
|
|
|
@ -177,10 +177,6 @@ IOPriority LinuxProcess_updateIOPriority(LinuxProcess* this);
|
|||
|
||||
bool LinuxProcess_setIOPriority(Process* this, Arg ioprio);
|
||||
|
||||
#ifdef HAVE_DELAYACCT
|
||||
void LinuxProcess_printDelay(float delay_percent, char* buffer, int n);
|
||||
#endif
|
||||
|
||||
bool Process_isThread(const Process* this);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue