Module Name:    src
Committed By:   christos
Date:           Fri Dec 16 20:12:11 UTC 2016

Modified Files:
        src/sys/sys: psref.h

Log Message:
hide functions from userland.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/psref.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/psref.h
diff -u src/sys/sys/psref.h:1.1 src/sys/sys/psref.h:1.2
--- src/sys/sys/psref.h:1.1	Sat Apr  9 02:21:16 2016
+++ src/sys/sys/psref.h	Fri Dec 16 15:12:11 2016
@@ -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 psref {
 	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 @@ void	psref_copy(struct psref *, const st
 
 /* For use only in assertions.  */
 bool	psref_held(const struct psref_target *, struct psref_class *);
+#endif
 
 #endif	/* _SYS_PSREF_H */

Reply via email to