mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-25 19:46:21 +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:
13
src/main.c
13
src/main.c
@@ -14,19 +14,15 @@
|
||||
* This file includes main()
|
||||
*/
|
||||
|
||||
#include "lispemul.h"
|
||||
#include "dbprint.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifndef DOS
|
||||
#include <pwd.h>
|
||||
#include <sys/param.h>
|
||||
#include <unistd.h>
|
||||
#else /* DOS */
|
||||
@@ -42,21 +38,17 @@
|
||||
#endif /* MAIKO_ENABLE_ETHERNET */
|
||||
|
||||
#include "emlglob.h"
|
||||
#include "address.h"
|
||||
#include "adr68k.h"
|
||||
#include "stack.h"
|
||||
#include "return.h"
|
||||
|
||||
#include "lispemul.h"
|
||||
#include "lspglob.h"
|
||||
#include "lsptypes.h"
|
||||
#include "lispmap.h"
|
||||
#include "ifpage.h"
|
||||
#include "iopage.h"
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#include "timeout.h"
|
||||
|
||||
#include "maindefs.h"
|
||||
#include "commondefs.h"
|
||||
#include "dirdefs.h"
|
||||
@@ -66,6 +58,7 @@
|
||||
#include "initkbddefs.h"
|
||||
#include "initsoutdefs.h"
|
||||
#include "ldsoutdefs.h"
|
||||
#include "miscstat.h"
|
||||
#include "storagedefs.h"
|
||||
#include "timerdefs.h"
|
||||
#include "unixcommdefs.h"
|
||||
|
||||
Reference in New Issue
Block a user