summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
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/i386/include
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/i386/include')
-rw-r--r--sys/i386/include/sysarch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/sysarch.h b/sys/i386/include/sysarch.h
index 6b237c0..e3f36b3 100644
--- a/sys/i386/include/sysarch.h
+++ b/sys/i386/include/sysarch.h
@@ -79,6 +79,7 @@ int i386_set_ioperm(unsigned int, unsigned int, int);
int i386_vm86(int, void *);
int i386_set_watch(int, unsigned int, int, int, struct dbreg *);
int i386_clr_watch(int, struct dbreg *);
+int sysarch(int, void *);
__END_DECLS
#endif
OpenPOWER on IntegriCloud