From 9c370d76002160cbbbca48236a519681635ad9ed Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Tue, 8 Nov 2005 02:13:30 +0000 Subject: [PATCH] Move MacOS functions to libmacos, disable inline of putchar() enabled by -O2 --- second/cli.c | 1 + second/main.c | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/second/cli.c b/second/cli.c index a7c497c..7ac0cbb 100644 --- a/second/cli.c +++ b/second/cli.c @@ -4,6 +4,7 @@ * */ +#define __NO_INLINE__ /* to avoid inline putchar() */ #include #include diff --git a/second/main.c b/second/main.c index be185ff..a1082b6 100644 --- a/second/main.c +++ b/second/main.c @@ -4,12 +4,16 @@ * */ +#define __NO_INLINE__ + #include #include #include #include -#include "lowmem.h" +#include +#include + #include "bank.h" #include "memory.h" #if defined(ARCH_M68K) @@ -24,7 +28,6 @@ #endif #include "arch.h" #include "misc.h" -#include "glue.h" #include "load.h" #include "console.h" #include "vga.h"