1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-19 16:40:18 +00:00

Cleanup of includes and related changes based on include-what-you-use diagnostics (#436)

Remove unused #define PERCENT_OF_SCREEN in MyWindow.h
Move structures for dir.c to dirdefs.h where they are used
Resolve S_CHAR vs S_CHARACTER in favor of S_CHARACTER and cleanup #defines
Fix  = vs == bug in FSDEBUG code in dir.c
Eliminate duplicate/unused constant definitions in gcr.c
Declare static internal function bytecmp in mkatom.c
Update many source and include files to include headers for what they use
This commit is contained in:
Nick Briggs
2022-08-10 11:07:57 -07:00
committed by GitHub
parent 4bd1f4b49a
commit 3d9f090e70
102 changed files with 876 additions and 1207 deletions

View File

@@ -18,22 +18,18 @@
/* */
/************************************************************************/
#include <stdio.h>
#include "lispemul.h"
#include "lispmap.h"
#include "lspglob.h"
#include "adr68k.h" // for Addr68k_from_LADDR
#ifdef RESWAPPEDCODESTREAM
#include "byteswapdefs.h" // for byte_swap_code_block
#endif
#include "car-cdrdefs.h" // for car
#include "conspagedefs.h" // for cons
#include "emlglob.h"
#include "adr68k.h"
#include "lsptypes.h"
#include "opcodes.h"
#include "cell.h"
#include "byteswapdefs.h"
#include "mvsdefs.h"
#include "car-cdrdefs.h"
#include "conspagedefs.h"
#include "lspglob.h" // for Stackspace
#include "lsptypes.h" // for ByteCode, LispPTR, state, DLword, FN_OPCOD...
#include "mvsdefs.h" // for make_value_list, simulate_unbind, values
#include "opcodes.h" // for opc_JUMP, opc_FJUMP, opc_FN1, opc_JUMPX
#include "stack.h" // for FX2, GETCLINK
/* to optionally swap the fnhead field of a frame */
#ifdef BIGVM