From 3b47b7348ab2281cc158674073f50dd7d2876795 Mon Sep 17 00:00:00 2001 From: crc Date: Mon, 29 Apr 2019 15:57:51 +0000 Subject: [PATCH] remove unneeded headers from io/floatingpoint.c FossilOrigin-Name: f0b0aa1a6a668ad5511cb6633e70ac5eaf15f14fda3afb54ca29e519e93fd3f9 --- interfaces/io/floatingpoint.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/interfaces/io/floatingpoint.c b/interfaces/io/floatingpoint.c index eaf5d9b..efe6a85 100644 --- a/interfaces/io/floatingpoint.c +++ b/interfaces/io/floatingpoint.c @@ -9,13 +9,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include typedef void (*Handler)(void); @@ -25,14 +18,11 @@ typedef void (*Handler)(void); ---------------------------------------------------------------------*/ #define CELL int32_t /* Cell size (32 bit, signed integer */ -#define IMAGE_SIZE 524288 * 48 /* Amount of RAM. 12MiB by default. */ -#define ADDRESSES 2048 /* Depth of address stack */ -#define STACK_DEPTH 512 /* Depth of data stack */ extern CELL sp, rp, ip; /* Stack & instruction pointers */ -extern CELL data[STACK_DEPTH]; /* The data stack */ -extern CELL address[ADDRESSES]; /* The address stack */ -extern CELL memory[IMAGE_SIZE + 1]; /* The memory for the image */ +extern CELL data[]; /* The data stack */ +extern CELL address[]; /* The address stack */ +extern CELL memory[]; /* The memory for the image */ extern char string_data[]; #define TOS data[sp] /* Shortcut for top item on stack */