Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys hide functions from userland.
details: https://anonhg.NetBSD.org/src/rev/cd2fd4cec5a8
branches: trunk
changeset: 819768:cd2fd4cec5a8
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 16 20:12:11 2016 +0000
description:
hide functions from userland.
diffstat:
sys/sys/psref.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 6e4419cccec5 -r cd2fd4cec5a8 sys/sys/psref.h
--- a/sys/sys/psref.h Fri Dec 16 20:11:52 2016 +0000
+++ b/sys/sys/psref.h Fri Dec 16 20:12:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psref.h,v 1.1 2016/04/09 06:21:16 riastradh Exp $ */
+/* $NetBSD: psref.h,v 1.2 2016/12/16 20:12:11 christos Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -75,6 +75,7 @@
struct cpu_info *psref_cpu;
};
+#ifdef _KERNEL
struct psref_class *
psref_class_create(const char *, int);
void psref_class_destroy(struct psref_class *);
@@ -91,5 +92,6 @@
/* For use only in assertions. */
bool psref_held(const struct psref_target *, struct psref_class *);
+#endif
#endif /* _SYS_PSREF_H */
Home |
Main Index |
Thread Index |
Old Index