diff options
author | marcel <marcel@FreeBSD.org> | 2003-08-17 06:42:08 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-08-17 06:42:08 +0000 |
commit | 7db6a715d6d16fc45da983ae9d2f40c08e8d44a5 (patch) | |
tree | c396c4d20098d5889204513f259cb9b3a2f0c0df /sys/compat/linprocfs | |
parent | 93e442c71c6a2c58cc277afd732fa1984c44e238 (diff) | |
download | FreeBSD-src-7db6a715d6d16fc45da983ae9d2f40c08e8d44a5.zip FreeBSD-src-7db6a715d6d16fc45da983ae9d2f40c08e8d44a5.tar.gz |
Cleanup <machine/cpu.h> by moving MD prototypes to <machine/md_var.h>
like we have on other platforms. Move savectx() to <machine/pcb.h>.
A lot of files got these MD prototypes through the indirect inclusion
of <machine/cpu.h> and now need to include <machine/md_var.h>. The
number of which is unexpectedly large...
osf1_misc.c especially is tricky because szsigcode is redefined in
one of the osf1 header files. Reordering of the include files was
needed.
linprocfs.c now needs an explicit extern declaration.
Tested with: LINT
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 201a9fc..55498f7 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -177,6 +177,7 @@ linprocfs_domeminfo(PFS_FILL_ARGS) } #ifdef __alpha__ +extern struct rpb *hwrpb; /* * Filler function for proc/cpuinfo (Alpha version) */ |