Remove trailing whitespace.
This commit is contained in:
parent
bb3e590915
commit
3fd270f7a2
|
@ -49,7 +49,7 @@ __BEGIN_DECLS
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
wint_t __wch;
|
wint_t __wch;
|
||||||
char __wchb[4];
|
char __wchb[4];
|
||||||
} __value; /* Value so far. */
|
} __value; /* Value so far. */
|
||||||
} mbstate_t;
|
} mbstate_t;
|
||||||
#define __mbstate_t_defined 1
|
#define __mbstate_t_defined 1
|
||||||
|
|
|
@ -182,7 +182,7 @@ Device* MakeModes(int flags, mode_t /*mode*/)
|
||||||
if ( !result ) { delete[] modesstr; }
|
if ( !result ) { delete[] modesstr; }
|
||||||
out:
|
out:
|
||||||
for ( size_t i = 0; i < nummodes; i++ ) { delete[] modes[i]; }
|
for ( size_t i = 0; i < nummodes; i++ ) { delete[] modes[i]; }
|
||||||
delete[] modes;
|
delete[] modes;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ private:
|
||||||
size_t numused;
|
size_t numused;
|
||||||
bool deletedef;
|
bool deletedef;
|
||||||
bool deletebuf;
|
bool deletebuf;
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -339,7 +339,7 @@ static void BootThread(void* /*user*/)
|
||||||
PanicF("Init returned with unexpected return code %i", status);
|
PanicF("Init returned with unexpected return code %i", status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void InitThread(void* /*user*/)
|
static void InitThread(void* /*user*/)
|
||||||
{
|
{
|
||||||
// We are the init process's first thread. Let's load the init program from
|
// We are the init process's first thread. Let's load the init program from
|
||||||
|
|
|
@ -98,7 +98,7 @@ extern "C" unsigned long kthread_cond_wait_signal(kthread_cond_t* cond,
|
||||||
cond->last = prev;
|
cond->last = prev;
|
||||||
}
|
}
|
||||||
// Note that the thread still owns the mutex.
|
// Note that the thread still owns the mutex.
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
kthread_mutex_unlock(mutex);
|
kthread_mutex_unlock(mutex);
|
||||||
Scheduler::Yield();
|
Scheduler::Yield();
|
||||||
|
|
|
@ -137,7 +137,7 @@ size_t LFBTextBuffer::Height() const
|
||||||
return rows;
|
return rows;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LFBTextBuffer::UsablePosition(TextPos pos) const
|
bool LFBTextBuffer::UsablePosition(TextPos pos) const
|
||||||
{
|
{
|
||||||
return pos.x < columns && pos.y < rows;
|
return pos.x < columns && pos.y < rows;
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ valid_syscall:
|
||||||
# Oh how nice, user-space put the parameters in: rdi, rsi, rdx, rcx, r8, r9
|
# Oh how nice, user-space put the parameters in: rdi, rsi, rdx, rcx, r8, r9
|
||||||
|
|
||||||
# Call the system call.
|
# Call the system call.
|
||||||
callq *%rax
|
callq *%rax
|
||||||
|
|
||||||
# Restore the previous permissions to data segment.
|
# Restore the previous permissions to data segment.
|
||||||
popq %rbp
|
popq %rbp
|
||||||
|
|
Loading…
Reference in New Issue