mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -39,8 +39,7 @@
|
||||
* THE END). ANY OTHER CHANGE WILL BREAK COMPATIBILITY TO OLDER
|
||||
* BINARY DICTIONARIES.
|
||||
*/
|
||||
void * const words[] = {
|
||||
|
||||
static forth_word * const words[] = {
|
||||
/*
|
||||
* CFAs and special words
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user