1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Remove trailing whitespace.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-09-07 20:46:06 +02:00
parent bb3e590915
commit 3fd270f7a2
7 changed files with 7 additions and 7 deletions

View file

@ -49,7 +49,7 @@ __BEGIN_DECLS
union
{
wint_t __wch;
char __wchb[4];
char __wchb[4];
} __value; /* Value so far. */
} mbstate_t;
#define __mbstate_t_defined 1

View file

@ -182,7 +182,7 @@ Device* MakeModes(int flags, mode_t /*mode*/)
if ( !result ) { delete[] modesstr; }
out:
for ( size_t i = 0; i < nummodes; i++ ) { delete[] modes[i]; }
delete[] modes;
delete[] modes;
return result;
}

View file

@ -90,7 +90,7 @@ private:
size_t numused;
bool deletedef;
bool deletebuf;
};

View file

@ -339,7 +339,7 @@ static void BootThread(void* /*user*/)
PanicF("Init returned with unexpected return code %i", status);
}
}
static void InitThread(void* /*user*/)
{
// We are the init process's first thread. Let's load the init program from

View file

@ -98,7 +98,7 @@ extern "C" unsigned long kthread_cond_wait_signal(kthread_cond_t* cond,
cond->last = prev;
}
// Note that the thread still owns the mutex.
return 0;
return 0;
}
kthread_mutex_unlock(mutex);
Scheduler::Yield();

View file

@ -137,7 +137,7 @@ size_t LFBTextBuffer::Height() const
return rows;
}
bool LFBTextBuffer::UsablePosition(TextPos pos) const
bool LFBTextBuffer::UsablePosition(TextPos pos) const
{
return pos.x < columns && pos.y < rows;
}

View file

@ -56,7 +56,7 @@ valid_syscall:
# Oh how nice, user-space put the parameters in: rdi, rsi, rdx, rcx, r8, r9
# Call the system call.
callq *%rax
callq *%rax
# Restore the previous permissions to data segment.
popq %rbp