diff options
| author | Thomas Moestl <tmm@FreeBSD.org> | 2002-10-18 15:21:09 +0000 |
|---|---|---|
| committer | Thomas Moestl <tmm@FreeBSD.org> | 2002-10-18 15:21:09 +0000 |
| commit | 89492ca4710fc76f69459022e2538f9d4d01b90c (patch) | |
| tree | 8cbfc1254dd7ba9071a37e3cc282198e5359cc71 /sys/dev/ofw | |
| parent | 4e3b1d65e600b3e0c4223e9ade49a143559fd9c7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/openfirm.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/ofw/openfirm.h b/sys/dev/ofw/openfirm.h index f02a42c9982b..903b452c7522 100644 --- a/sys/dev/ofw/openfirm.h +++ b/sys/dev/ofw/openfirm.h @@ -64,17 +64,18 @@ * Prototypes for Openfirmware Interface Routines */ +typedef unsigned long cell_t; + +typedef unsigned int ihandle_t; +typedef unsigned int phandle_t; + +#ifdef _KERNEL #include <sys/cdefs.h> #include <sys/types.h> #include <sys/malloc.h> MALLOC_DECLARE(M_OFWPROP); -typedef unsigned long cell_t; - -typedef unsigned int ihandle_t; -typedef unsigned int phandle_t; - /* * Stuff that is used by the OpenFirmware code. */ @@ -137,4 +138,5 @@ void OF_set_symbol_lookup(void *, void *); /* Time function */ int OF_milliseconds(void); +#endif /* _KERNEL */ #endif /* _OPENFIRM_H_ */ |
