Skip to content

Commit 127a5a8

Browse files
committed
CHANGE: Move sys-state.h to be included by sys-core.h
(cherry picked from commit cb52713)
1 parent ccbe4f4 commit 127a5a8

File tree

6 files changed

+1
-6
lines changed

6 files changed

+1
-6
lines changed

src/core/a-lib.c

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include "reb-dialect.h"
3232
#include "reb-ext.h"
3333
#include "reb-evtypes.h"
34-
#include "sys-state.h"
3534

3635
// Linkage back to HOST functions. Needed when we compile as a DLL
3736
// in order to use the OS_* macro functions.

src/core/b-init.c

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
***********************************************************************/
2929

3030
#include "sys-core.h"
31-
#include "sys-state.h"
3231

3332
#define EVAL_DOSE 10000
3433

src/core/c-do.c

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
#include "sys-core.h"
3535
#include <stdio.h>
36-
#include "sys-state.h"
3736

3837
REBNATIVE(do); // Forward declaration for detection and special cases
3938
#define IS_DO(v) (IS_NATIVE(v) && (VAL_FUNC_CODE(v) == &N_do))

src/core/c-error.c

-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@
9696

9797
#include "sys-core.h"
9898

99-
#include "sys-state.h"
100-
10199
// Globals or Threaded???
102100
static REBOL_STATE Top_State; // Boot var: holds error state during boot
103101

src/core/u-parse.c

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
***********************************************************************/
2929

3030
#include "sys-core.h"
31-
#include "sys-state.h"
3231

3332
// Parser flags:
3433
enum Parse_Flags {

src/include/sys-core.h

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ typedef struct rebol_mold {
117117
#include "tmp-errnums.h"
118118
#include "host-lib.h"
119119
#include "sys-stack.h"
120+
#include "sys-state.h"
120121

121122
/***********************************************************************
122123
**

0 commit comments

Comments
 (0)