summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-11-04 19:20:54 +0000
committercognet <cognet@FreeBSD.org>2004-11-04 19:20:54 +0000
commit65c874982c1e196f5c8bfb5d51585c90d8af7865 (patch)
treec5ba637d0f0fa7ddc57af65f8500d7af09219aa5 /sys/arm/include
parentf877e8fb347683806b553d34eb8c7b6b7af93f1e (diff)
downloadFreeBSD-src-65c874982c1e196f5c8bfb5d51585c90d8af7865.zip
FreeBSD-src-65c874982c1e196f5c8bfb5d51585c90d8af7865.tar.gz
Protect the function declarations with #ifdef _KERNEL.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/reg.h b/sys/arm/include/reg.h
index 7cf6d21..2f8c2ed 100644
--- a/sys/arm/include/reg.h
+++ b/sys/arm/include/reg.h
@@ -22,11 +22,13 @@ struct dbreg {
unsigned int dr[8]; /* debug registers */
};
+#ifdef _KERNEL
int fill_regs(struct thread *, struct reg *);
int set_regs(struct thread *, struct reg *);
int fill_fpregs(struct thread *, struct fpreg *);
int set_fpregs(struct thread *, struct fpreg *);
int fill_dbregs(struct thread *, struct dbreg *);
int set_dbregs(struct thread *, struct dbreg *);
+#endif
#endif /* !MACHINE_REG_H */
OpenPOWER on IntegriCloud