mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-27 12:22:24 +00:00
Files should explicitly include the definitions they directly depend on (#355)
... start by fixing the include files and the fallout in C source from removing includes not directly needed by headers that previously included them.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef XWINDOW
|
||||
#ifndef DOS
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <setjmp.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h> /* for memset */
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* @file conspage.c
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include "lispemul.h"
|
||||
#include "address.h"
|
||||
#include "adr68k.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef SUNDISPLAY
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "lispemul.h"
|
||||
#include "dbprint.h"
|
||||
#include "devif.h"
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h> /* for sprintf */
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lispemul.h"
|
||||
#include "lspglob.h"
|
||||
|
||||
10
src/rs232c.c
10
src/rs232c.c
@@ -9,9 +9,15 @@
|
||||
/************************************************************************/
|
||||
|
||||
#include "version.h"
|
||||
#include "rs232c.h"
|
||||
#include "lspglob.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sgtty.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
#include "lspglob.h"
|
||||
#include "rs232c.h"
|
||||
|
||||
/*
|
||||
* Lisp Interface
|
||||
*/
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
/************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
*/
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
#include "lispemul.h"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <sys/file.h>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifndef DOS
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#include "lispemul.h"
|
||||
#include "miscstat.h"
|
||||
#include "devif.h"
|
||||
#include "xdefs.h"
|
||||
#include "xscroll.h"
|
||||
|
||||
Reference in New Issue
Block a user