aboutsummaryrefslogtreecommitdiff
path: root/emu.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-04-22 23:35:16 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-04-22 23:35:16 +0000
commit958f6b5bd834121362183f33cabd1d75290429ab (patch)
tree320ff517e5b7d23c4a4ad20d0048d4e382abed34 /emu.c
parentf8b1782dba2462403f1df62ecd1f8d94068ece4e (diff)
misc
Diffstat (limited to 'emu.c')
-rw-r--r--emu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/emu.c b/emu.c
index 9a4d947..2f4a428 100644
--- a/emu.c
+++ b/emu.c
@@ -18,11 +18,11 @@
#include <stdio.h>
#include "dcpu16.h"
-unsigned short *mem;
-unsigned short *reg;
+static unsigned short *mem;
+static unsigned short *reg;
-unsigned short skip = 0;
-unsigned short run = 1;
+static unsigned short skip = 0;
+static unsigned short run = 1;
void ext(unsigned short *a, unsigned short *b);
void set(unsigned short *a, unsigned short *b);