diff options
| author | Konstantin Kirik (snegovick) <snegovick@uprojects.org> | 2025-12-04 18:42:50 +0300 |
|---|---|---|
| committer | Konstantin Kirik (snegovick) <snegovick@uprojects.org> | 2025-12-04 18:42:50 +0300 |
| commit | efb56b311a59529196831da51ebbf21c20be665d (patch) | |
| tree | 6ca5eeff9dc36042345f3929505da7c5c26e66f2 /emu | |
| parent | 8bdc643dc2fbfcffe0649bfb2f6564f349493b55 (diff) | |
Redeclare some vars as extern
Diffstat (limited to 'emu')
| -rw-r--r-- | emu/port/devcons.c | 4 | ||||
| -rw-r--r-- | emu/port/dis.c | 2 | ||||
| -rw-r--r-- | emu/port/main.c | 4 |
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; |
