Move all the includes one place to the left

This commit is contained in:
Stephen Dolan committed 2012-12-02 21:25:54 +00:00
1 parent 125e278502
commit b6f2fbbe62
6 files changed
+17 -11

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
#include <string.h>
#include "builtin.h"
#include "bytecode.h"
#include "compile.h"
#include "parser.h"
#include "locfile.h"
+10 -1
View File
@@ -1,9 +1,18 @@
#ifndef BUILTIN_H
#define BUILTIN_H
#include "bytecode.h"
#include "compile.h"
block builtins_bind(block);
typedef void (*cfunction_ptr)(jv input[], jv output[]);
struct cfunction {
cfunction_ptr fptr;
const char* name;
int nargs;
};
#endif
+1 -8
View File
@@ -4,14 +4,7 @@
#include "jv.h"
#include "opcode.h"
typedef void (*cfunction_ptr)(jv input[], jv output[]);
struct cfunction {
cfunction_ptr fptr;
const char* name;
int nargs;
};
#include "builtin.h"
#define MAX_CFUNCTION_ARGS 10
struct symbol_table {
+1
View File
@@ -3,6 +3,7 @@
#include <stdlib.h>
#include "opcode.h"
#include "compile.h"
#include "bytecode.h"
#include "locfile.h"
struct inst {
+4 -1
View File
@@ -1,10 +1,13 @@
#ifndef COMPILE_H
#define COMPILE_H
#include <stdint.h>
#include "bytecode.h"
#include "jv.h"
#include "opcode.h"
#include "locfile.h"
struct bytecode;
struct symbol_table;
struct inst;
typedef struct inst inst;
-1
View File
@@ -7,7 +7,6 @@
#include "opcode.h"
#include "bytecode.h"
#include "compile.h"
#include "forkable_stack.h"
#include "frame_layout.h"