summaryrefslogtreecommitdiff
path: root/kernel/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/internal.c')
-rw-r--r--kernel/internal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/internal.c b/kernel/internal.c
index 9ea0dd80..95463743 100644
--- a/kernel/internal.c
+++ b/kernel/internal.c
@@ -24,7 +24,7 @@ extern ucell *trampoline;
* point behind the pointer.
*/
static ucell t[] = { DOCOL, 0, (ucell)(t+3), 0 };
-ucell *trampoline = t;
+static ucell *trampoline = t;
#endif
#ifndef CONFIG_DEBUG_INTERPRETER
@@ -287,7 +287,7 @@ static void doplusloop(void)
#ifndef FCOMPILER
static ucell get_myself(void)
{
- static ucell **myself = 0;
+ static ucell **myself = NULL;
if( !myself )
myself = (ucell**)findword("my-self") + 1;
return (*myself && **myself) ? (ucell)**myself : 0;