1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-27 04:47:10 +00:00

Clean up usage of the native address of the MiscStats and its struct typedef

The global variable MiscStats is declared extern in "lspglob.h"
The structure that MiscStats points to is MISCSTATS and is defined in "miscstats.h"
This commit is contained in:
Nick Briggs
2022-12-24 15:45:14 -08:00
parent b71a8088d3
commit 11efd15613
4 changed files with 2 additions and 7 deletions

View File

@@ -18,8 +18,7 @@
#include "devif.h" // for (anonymous), MRegion, DefineCursor, OUTER_...
#include "keyeventdefs.h" // for kb_trans
#include "lispemul.h" // for PUTBASEBIT68K, FALSE, TRUE, DLword, state
#include "miscstat.h" // for MISCSTATS
#include "version.h"
#include "lspglob.h" // for MiscStats
#include "xdefs.h" // for XLOCK, XUNLOCK
#include "xlspwindefs.h" // for DoRing
#include "xscrolldefs.h" // for JumpScrollHor, JumpScrollVer, Scroll, Scro...
@@ -35,7 +34,6 @@ extern DspInterface currentdsp;
extern DLword *EmCursorX68K, *EmCursorY68K;
extern DLword *EmMouseX68K, *EmMouseY68K, *EmKbdAd068K, *EmRealUtilin68K;
extern LispPTR *CLastUserActionCell68k;
extern MISCSTATS *MiscStats;
extern int KBDEventFlg;
extern u_char *SUNLispKeyMap;
#define KEYCODE_OFFSET 7 /* Sun Keycode offset */