LinuxProcess: mark LinuxProcess_printDelay static

This commit is contained in:
Christian Göttsche 2020-11-19 14:43:04 +01:00
parent 4fb82e301d
commit 3e5cba91ce
2 changed files with 1 additions and 5 deletions

View File

@ -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 {

View File

@ -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