summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
Diffstat (limited to 'emu')
-rw-r--r--emu/port/devcons.c4
-rw-r--r--emu/port/dis.c2
-rw-r--r--emu/port/main.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/emu/port/devcons.c b/emu/port/devcons.c
index 0964b56f..dfba5621 100644
--- a/emu/port/devcons.c
+++ b/emu/port/devcons.c
@@ -7,7 +7,7 @@
#include "keyboard.h"
extern int cflag;
-int exdebug;
+extern int exdebug;
extern int keepbroken;
enum
@@ -61,7 +61,7 @@ Dirtab contab[] =
};
Queue* gkscanq; /* Graphics keyboard raw scancodes */
-char* gkscanid; /* name of raw scan format (if defined) */
+extern char* gkscanid; /* name of raw scan format (if defined) */
Queue* gkbdq; /* Graphics keyboard unprocessed input */
Queue* kbdq; /* Console window unprocessed keyboard input */
Queue* lineq; /* processed console input */
diff --git a/emu/port/dis.c b/emu/port/dis.c
index 8c474ff6..1b086c54 100644
--- a/emu/port/dis.c
+++ b/emu/port/dis.c
@@ -23,7 +23,7 @@ struct
Atidle* idletasks;
} isched;
-int bflag;
+extern int bflag;
int cflag;
uvlong gcbusy;
uvlong gcidle;
diff --git a/emu/port/main.c b/emu/port/main.c
index 3d0f93bd..779d779c 100644
--- a/emu/port/main.c
+++ b/emu/port/main.c
@@ -11,8 +11,8 @@ int rebootargc = 0;
char** rebootargv;
static char *imod = "/dis/emuinit.dis";
extern char* hosttype;
-char* tkfont; /* for libtk/utils.c */
-int tkstylus; /* libinterp/tk.c */
+extern char* tkfont; /* for libtk/utils.c */
+extern int tkstylus; /* libinterp/tk.c */
extern int mflag;
int dflag;
int vflag;