mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Attempt to fix the Linux build
This commit is contained in:
parent
e1adc3a6b2
commit
3181bdcb9b
1 changed files with 1 additions and 2 deletions
|
@ -694,11 +694,10 @@ unsigned long proc_get_jiffies(process_t *p) {
|
|||
/// Update the CPU time for all jobs.
|
||||
void proc_update_jiffies() {
|
||||
job_t *job;
|
||||
process_t *p;
|
||||
job_iterator_t j;
|
||||
|
||||
for (job = j.next(); job; job = j.next()) {
|
||||
for (p = job->first_process; p; p = p->next) {
|
||||
for (process_ptr_t &p : job->processes) {
|
||||
gettimeofday(&p->last_time, 0);
|
||||
p->last_jiffies = proc_get_jiffies(p);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue