diff options
author | Luca Dariz <luca@orpolo.org> | 2022-06-28 12:10:51 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-27 21:16:15 +0200 |
commit | 499f154bf12fe15c6aa1740100e4545a71490be1 (patch) | |
tree | d7a3df1d591249689eae742add539248cae9a6d5 /kern | |
parent | a3db37b8837c091f6018257f2de5bb740350f3f5 (diff) | |
download | gnumach-499f154bf12fe15c6aa1740100e4545a71490be1.tar.gz gnumach-499f154bf12fe15c6aa1740100e4545a71490be1.tar.bz2 gnumach-499f154bf12fe15c6aa1740100e4545a71490be1.zip |
fix warnings for 32 bit builds
Signed-off-by: Luca Dariz <luca@orpolo.org>
Message-Id: <20220628101054.446126-13-luca@orpolo.org>
Diffstat (limited to 'kern')
-rw-r--r-- | kern/boot_script.c | 1 | ||||
-rw-r--r-- | kern/bootstrap.h | 4 | ||||
-rw-r--r-- | kern/exception.c | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/kern/boot_script.c b/kern/boot_script.c index 9e8f60a7..7e31075f 100644 --- a/kern/boot_script.c +++ b/kern/boot_script.c @@ -6,6 +6,7 @@ #include <string.h> #include <kern/printf.h> #include "boot_script.h" +#include "bootstrap.h" /* This structure describes a symbol. */ diff --git a/kern/bootstrap.h b/kern/bootstrap.h index b8ed8d9f..309a63f6 100644 --- a/kern/bootstrap.h +++ b/kern/bootstrap.h @@ -19,6 +19,8 @@ #ifndef _KERN_BOOTSTRAP_H_ #define _KERN_BOOTSTRAP_H_ -extern void bootstrap_create(void); +#include <kern/boot_script.h> + +void bootstrap_create(void); #endif /* _KERN_BOOTSTRAP_H_ */ diff --git a/kern/exception.c b/kern/exception.c index 246c1419..6a812490 100644 --- a/kern/exception.c +++ b/kern/exception.c @@ -45,6 +45,7 @@ #include <kern/task.h> #include <kern/thread.h> #include <kern/processor.h> +#include <kern/printf.h> #include <kern/sched.h> #include <kern/sched_prim.h> #include <kern/exception.h> |