Make the openfirmware entry point function pointer non-static so that it

can be passed to the kernel.
This commit is contained in:
Jake Burkholder 2001-10-30 06:23:32 +00:00
parent 823a5e8365
commit eea923d7f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85717
2 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,8 @@
#include "openfirm.h"
static int (*openfirmware)(void *);
int (*openfirmware)(void *);
static ihandle_t stdin;
static ihandle_t stdout;

View File

@ -69,6 +69,7 @@ typedef unsigned int ihandle_t;
typedef unsigned int phandle_t;
typedef unsigned long int cell_t;
extern int (*openfirmware)(void *);
extern phandle_t chosen;
/*