1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-28 04:38:00 +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

@@ -16,20 +16,16 @@
/* Floating-point arithmetic code. */
/* */
/************************************************************************/
#include <stdio.h>
#include <math.h>
#include "lispemul.h"
#include "lspglob.h"
#include "adr68k.h"
#include "lispmap.h"
#include "lsptypes.h"
#include "emlglob.h"
#include "mkcelldefs.h"
#include "arith.h"
#include "my.h"
#include "medleyfp.h"
#include "fpdefs.h"
#include "adr68k.h" // for LADDR_from_68k
#include "emlglob.h"
#include "fpdefs.h" // for N_OP_fdifference, N_OP_fgreaterp, N_OP_fplus2
#include "lispemul.h" // for state, LispPTR, DLword, ERROR_EXIT, ATOM_T
#include "lspglob.h"
#include "lsptypes.h" // for TYPE_FLOATP
#include "medleyfp.h" // for FPCLEAR, FPTEST
#include "mkcelldefs.h" // for createcell68k
#include "my.h" // for N_MakeFloat
/************************************************************
N_OP_fplus2 -- op 350