1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 03:51:32 +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

@@ -11,24 +11,20 @@
#include "version.h"
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include <fcntl.h>
#include <string.h> /* for memset */
#include <sys/select.h> /* for fd_set */
#include "lispemul.h"
#include "lispmap.h"
#include "adr68k.h"
#include "lspglob.h"
#include <fcntl.h> // for fcntl, F_GETFL, O_RDONLY, O_RDWR
#include <setjmp.h> // for setjmp, jmp_buf
#include <stdio.h> // for fflush, fprintf, printf, getchar, stderr
#include <stdlib.h> // for exit
#include <string.h> // for memset
#include <sys/select.h> // for fd_set
#include "commondefs.h" // for error, stab, warn
#include "dbprint.h" // for DBPRINT
#include "emlglob.h"
#include "stack.h"
#include "dbprint.h"
#include "commondefs.h"
#include "kprintdefs.h"
#include "uraiddefs.h"
#include "uraidextdefs.h"
#include "kprintdefs.h" // for print
#include "lispemul.h" // for NIL, DLword, LispPTR
#include "lspglob.h"
#include "uraiddefs.h" // for device_after_raid, device_before_raid, ura...
#include "uraidextdefs.h" // for URMAXFXNUM, URaid_inputstring, URaid_FXarray
void stab() { DBPRINT(("Now in stab\n")); }