mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
bsd-user: move gemu_log to later in the file
Signed-off-by: Warner Losh <imp@bsdimp.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
This commit is contained in:
parent
c09f12feba
commit
f0f7f9dca9
@ -69,14 +69,6 @@ unsigned long target_dflssiz = TARGET_DFLSSIZ; /* initial data size limit */
|
||||
unsigned long target_maxssiz = TARGET_MAXSSIZ; /* max stack size */
|
||||
unsigned long target_sgrowsiz = TARGET_SGROWSIZ; /* amount to grow stack */
|
||||
|
||||
void gemu_log(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
vfprintf(stderr, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void fork_start(void)
|
||||
{
|
||||
@ -165,6 +157,15 @@ void init_task_state(TaskState *ts)
|
||||
ts->sigqueue_table[i].next = NULL;
|
||||
}
|
||||
|
||||
void gemu_log(const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
vfprintf(stderr, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
static void
|
||||
adjust_ssize(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user