Skip to content

Commit c60b522

Browse files
authored
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.
1 parent f019d3d commit c60b522

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+180
-131
lines changed

inc/allocmdsdefs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#ifndef ALLOCMDSDEFS_H
22
#define ALLOCMDSDEFS_H 1
3+
#include "lispemul.h" /* for LispPTR, DLword */
34
LispPTR initmdspage(register LispPTR *base, register DLword size, register LispPTR prev);
45
LispPTR *alloc_mdspage(register short int type);
56
#endif

inc/arith2defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#ifndef ARITH2DEFS_H
22
#define ARITH2DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_plus2(int tosm1, int tos);
45
LispPTR N_OP_iplus2(int tosm1, int tos);
56
LispPTR N_OP_difference(int tosm1, int tos);

inc/arith3defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#ifndef ARITH3DEFS_H
22
#define ARITH3DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_makenumber(int tosm1, int tos);
45
LispPTR N_OP_boxiplus(register int a, int tos);
56
LispPTR N_OP_boxidiff(register int a, int tos);

inc/array.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
#define ARRAY_H 1
33
/* $Id: array.h,v 1.2 1999/01/03 02:05:53 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */
44

5-
6-
7-
85
/************************************************************************/
96
/* */
107
/* (C) Copyright 1989-92 Venue. All Rights Reserved. */
118
/* Manufactured in the United States of America. */
129
/* */
1310
/************************************************************************/
1411

12+
#include "lispemul.h" /* for LispPTR, DLword */
13+
#include "version.h" /* for BIGVM */
14+
1515
#ifndef BYTESWAP
1616
/********************************/
1717
/* Normal byte-order version */

inc/array2defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#ifndef ARRAY2DEFS_H
22
#define ARRAY2DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_misc4(register LispPTR data, register LispPTR base, register LispPTR typenumber,
45
register LispPTR inx, int alpha);
56
#endif

inc/array3defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#ifndef ARRAY3DEFS_H
22
#define ARRAY3DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_aref1(register LispPTR arrayarg, register LispPTR inx);
45
#endif

inc/array4defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#ifndef ARRAY4DEFS_H
22
#define ARRAY4DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_aset1(register LispPTR data, LispPTR arrayarg, register int inx);
45
#endif

inc/array5defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#ifndef ARRAY5DEFS_H
22
#define ARRAY5DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_aref2(LispPTR arrayarg, LispPTR inx0, LispPTR inx1);
45
#endif

inc/array6defs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#ifndef ARRAY6DEFS_H
22
#define ARRAY6DEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_aset2(register LispPTR data, LispPTR arrayarg, LispPTR inx0, LispPTR inx1);
45
#endif

inc/arraydefs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#ifndef ARRAYDEFS_H
22
#define ARRAYDEFS_H 1
3+
#include "lispemul.h" /* for LispPTR */
34
LispPTR N_OP_misc3(LispPTR baseL, LispPTR typenumber, LispPTR inx, int alpha);
45
#endif

0 commit comments

Comments
 (0)