1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-04 07:33:07 +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

@@ -23,25 +23,17 @@
#include "version.h"
#include <stdio.h>
#include "lispemul.h"
#include "car-cdrdefs.h" // for car, cdr
#include "cell.h" // for cadr_cell, S_N_CHECKANDCADR
#include "conspagedefs.h" // for cons
#include "emlglob.h"
#include "lispemul.h" // for state, LispPTR, NIL_PTR, ERROR_EXIT, Irq_S...
#include "lispmap.h" // for ATOM_OFFSET, S_CHARACTER, S_NEGATIVE, S_PO...
#include "lspglob.h"
#include "lispmap.h"
#include "lsptypes.h"
#include "address.h"
#include "adr68k.h"
#include "cell.h"
#include "stack.h"
#include "gcdata.h"
#include "mkcelldefs.h"
#include "arith.h"
#include "my.h"
#include "z2defs.h"
#include "car-cdrdefs.h"
#include "conspagedefs.h"
#include "vars3defs.h"
#include "lsptypes.h" // for Listp, GetTypeNumber, TYPE_LISTP
#include "vars3defs.h" // for cadr
#include "version.h"
#include "z2defs.h" // for N_OP_classoc, N_OP_clfmemb, N_OP_restlist
/* N_OP_classoc() OP 33Q */
LispPTR N_OP_classoc(LispPTR key, LispPTR list) {