mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-20 17:47:48 +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:
parent
b71a8088d3
commit
11efd15613
@ -25,9 +25,9 @@
|
||||
#include "keyboard.h"
|
||||
#include "ifpage.h"
|
||||
#include "iopage.h"
|
||||
#include "miscstat.h"
|
||||
|
||||
extern int eurokbd;
|
||||
extern MISCSTATS *MiscStats;
|
||||
extern IFPAGE *InterfacePage;
|
||||
extern int KBDEventFlg;
|
||||
extern DspInterface currentdsp;
|
||||
|
||||
@ -50,7 +50,6 @@ void Mouse_hndlr(void); /* Fields mouse events from driver */
|
||||
#include "lsptypes.h"
|
||||
|
||||
#include "ifpage.h"
|
||||
#include "miscstat.h"
|
||||
|
||||
#include "bb.h"
|
||||
#include "bitblt.h"
|
||||
@ -132,7 +131,6 @@ extern DLword *DisplayRegion68k;
|
||||
static struct timeval SelectTimeout = {0, 0};
|
||||
#endif /* DOS */
|
||||
|
||||
extern MISCSTATS *MiscStats;
|
||||
LispPTR *LASTUSERACTION68k;
|
||||
LispPTR *CLastUserActionCell68k;
|
||||
LispPTR *CURSORDESTHEIGHT68k;
|
||||
|
||||
@ -43,7 +43,6 @@ extern LispPTR *MakeAtom68k();
|
||||
extern DLword *EmCursorX68K, *EmCursorY68K;
|
||||
extern DLword *EmMouseX68K, *EmMouseY68K, *EmKbdAd068K, *EmRealUtilin68K;
|
||||
extern LispPTR *CLastUserActionCell68k;
|
||||
extern MISCSTATS *MiscStats;
|
||||
|
||||
extern int KBDEventFlg;
|
||||
LispPTR *MNWBUFFERING68k = 0;
|
||||
|
||||
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user