mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-07 16:51: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:
@@ -15,43 +15,34 @@
|
||||
* Author : Osamu Nakamura
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <unistd.h> // for getpagesize
|
||||
#ifdef BYTESWAP
|
||||
#include "byteswapdefs.h"
|
||||
#endif
|
||||
#include "dbprint.h" // for DBPRINT, TPRINT
|
||||
#include "devconf.h" // for SUN2BW
|
||||
#include "devif.h" // for (anonymous), MRegion, DevRec, DspInterface
|
||||
#include "display.h" // for DLWORD_PERLINE, DISPLAYBUFFER
|
||||
#include "emlglob.h"
|
||||
#include "ifpage.h" // for IFPAGE
|
||||
#include "initdspdefs.h" // for clear_display, display_before_exit, flush_d...
|
||||
#include "lispemul.h" // for DLword, BITSPER_DLWORD, T
|
||||
#include "lspglob.h"
|
||||
#include "lsptypes.h"
|
||||
#ifdef XWINDOW
|
||||
#include "xcursordefs.h" // for Init_XCursor
|
||||
#endif
|
||||
|
||||
#ifdef OS4
|
||||
#include <vfork.h>
|
||||
#endif /* OS4 */
|
||||
|
||||
#include "lispemul.h"
|
||||
#include "lispmap.h"
|
||||
#include "lsptypes.h"
|
||||
#include "address.h"
|
||||
#include "adr68k.h"
|
||||
#include "lspglob.h"
|
||||
#include "emlglob.h"
|
||||
#include "display.h"
|
||||
#include "devconf.h"
|
||||
|
||||
#include "bb.h"
|
||||
#include "bitblt.h"
|
||||
#include "pilotbbt.h"
|
||||
#include "dbprint.h"
|
||||
|
||||
#include "initdspdefs.h"
|
||||
#ifdef BYTESWAP
|
||||
#include "byteswapdefs.h"
|
||||
#endif
|
||||
#ifdef XWINDOW
|
||||
#include "xcursordefs.h"
|
||||
#endif
|
||||
|
||||
#ifdef DOS
|
||||
#define getpagesize() 512
|
||||
#endif /* DOS */
|
||||
|
||||
#if defined(XWINDOW) || defined(DOS)
|
||||
#include "devif.h"
|
||||
DLword *DisplayRegion68k_end_addr;
|
||||
extern DspInterface currentdsp;
|
||||
#endif /* DOS */
|
||||
|
||||
Reference in New Issue
Block a user