Make words array static and change the definition to a stricter one

git-svn-id: svn://coreboot.org/openbios/openbios-devel@310 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-12-23 10:12:09 +00:00
parent 4369f590b2
commit 69508e66a1
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,9 @@
* - address pointed by CFA is executed by CPU
*/
extern void * const words[];
typedef void forth_word(void);
static forth_word * const words[];
ucell PC;
volatile int runforth = 0;