summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-09 16:52:09 +0000
committernectar <nectar@FreeBSD.org>2004-01-09 16:52:09 +0000
commit11f80dcf0d1a027a367f10e000648cb1f64cbdad (patch)
tree9ca5ad04689553c5e971e12633d53b09108d5ed4 /sys/amd64
parentcce48275690715c8d64e7f7c6c6ab3d7e2877a75 (diff)
downloadFreeBSD-src-11f80dcf0d1a027a367f10e000648cb1f64cbdad.zip
FreeBSD-src-11f80dcf0d1a027a367f10e000648cb1f64cbdad.tar.gz
Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm
at it, use the ANSI C generic pointer type for the second argument, thus matching the documentation. Remove the now extraneous (and now conflicting) function declarations in various libc sources. Remove now unnecessary casts. Reviewed by: bde
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/sysarch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/sysarch.h b/sys/amd64/include/sysarch.h
index b426ec8..e7c901d 100644
--- a/sys/amd64/include/sysarch.h
+++ b/sys/amd64/include/sysarch.h
@@ -50,9 +50,10 @@
__BEGIN_DECLS
int amd64_get_fsbase(void **);
-int amd64_set_fsbase(void *);
int amd64_get_gsbase(void **);
+int amd64_set_fsbase(void *);
int amd64_set_gsbase(void *);
+int sysarch(int, void *);
__END_DECLS
#endif
OpenPOWER on IntegriCloud